about summary refs log tree commit diff
path: root/math/complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/complex.h')
-rw-r--r--math/complex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/complex.h b/math/complex.h
index 9cbcc7f7d0..9217fddf96 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -54,7 +54,7 @@ __BEGIN_DECLS
 # define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
 # define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))
 # ifndef __NO_LONG_DOUBLE_MATH
-#  define CMPLXL(x, y) __builtin_complex ((double) (x), (double) (y))
+#  define CMPLXL(x, y) __builtin_complex ((long double) (x), (long double) (y))
 # endif
 #endif