]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo in CMPLXL
authorUlrich Drepper <drepper@gmail.com>
Sun, 8 Jan 2012 20:55:52 +0000 (15:55 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sun, 8 Jan 2012 20:55:52 +0000 (15:55 -0500)
ChangeLog
math/complex.h

index 85b842008a3e836835af4753245dcd3c6bcae2f7..8c48331bb06cbc6a0fe3f4632a637bac5377703a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
 
+       * math/complex.h (CMPLXL): Fix typo.
+
        * debug/Makefile (routines): Add poll_chk and ppoll_chk.
        * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
        GLIBC_2.16.
index 9cbcc7f7d01943db6030aac9cba227edb062ff2e..9217fddf96bac1100ee1c030393faf9eed78bd06 100644 (file)
@@ -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