]> sourceware.org Git - newlib-cygwin.git/commitdiff
2005-10-31 Darin Johnson <darin@usa.net>
authorJeff Johnston <jjohnstn@redhat.com>
Mon, 31 Oct 2005 18:47:20 +0000 (18:47 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Mon, 31 Oct 2005 18:47:20 +0000 (18:47 +0000)
        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
        correct for constants.

newlib/ChangeLog
newlib/libm/mathfp/s_mathcnst.c

index f3e2939b054b65e375b7352425b74d19a3487407..e478880fc5f0d2657b15e2ffc3ea6b3860ab91fd 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-31  Darin Johnson  <darin@usa.net>
+
+       * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
+       correct for constants.
+
 2005-10-28  Bob Wilson  <bob.wilson@acm.org>
 
        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
index 7865c7f78a32c56991d00cb3a52118df028bca90..a847ee430f522f953178673fe41429dbaa6a110c 100644 (file)
@@ -12,13 +12,13 @@ ufloat z_hugeval_f  = { 0x7f800000 };
 ufloat z_infinity_f = { 0x7f800000 };
 ufloat z_notanum_f  = { 0xffd00000 };
 
-#ifdef ___IEEE_LITTLE_ENDIAN
+#ifdef __IEEE_BIG_ENDIAN
 udouble z_hugeval  = { 0x7ff00000, 0 };
 udouble z_infinity = { 0x7ff00000, 0 };
 udouble z_notanum  = { 0xfff80000, 0 };
-#else
+#else /* __IEEE_LITTLE_ENDIAN  */
 udouble z_hugeval  = { 0, 0x7ff00000 };
 udouble z_infinity = { 0, 0x7ff00000 };
 udouble z_notanum  = { 0, 0xfff80000 };
-#endif /* ___IEEE_LITTLE_ENDIAN */
+#endif /* __IEEE_LITTLE_ENDIAN */
 
This page took 0.042318 seconds and 5 git commands to generate.