* Fix libm infinity (bug #1000448)
@ 2007-09-04 14:26 Jonathan Larmour
0 siblings, 0 replies; only message in thread
From: Jonathan Larmour @ 2007-09-04 14:26 UTC (permalink / raw)
To: ecos-patches
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/language/c/libm/current/ChangeLog,v
retrieving revision 1.25
diff -u -5 -p -r1.25 ChangeLog
--- ChangeLog 14 Apr 2004 20:40:56 -0000 1.25
+++ ChangeLog 4 Sep 2007 14:25:53 -0000
@@ -1,5 +1,12 @@
+2007-09-04 Stephen Finney <shf@pfinc.com>
+2007-09-04 Jonathan Larmour <jifl@eCosCentric.com>
+
+ * src/misc/infconst.c: Declare infinity byte order as dependent on
+ double byte order, not integer.
+ Fixes bug #1000448.
+
2004-04-14 Andrew Lunn <andrew.lunn@ascom.ch>
* src/double/ieee754-core/e_cosh.c (__ieee754_cosh):
* src/double/ieee754-core/e_sinh.c (__ieee754_sinh): Make use of
the CYG_LIBM_LO() macro which does not generate a compiler warning.
Index: src/misc/infconst.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/language/c/libm/current/src/misc/infconst.c,v
retrieving revision 1.9
diff -u -5 -p -r1.9 infconst.c
--- src/misc/infconst.c 23 May 2002 23:07:52 -0000 1.9
+++ src/misc/infconst.c 4 Sep 2007 14:25:53 -0000
@@ -67,11 +67,11 @@
#include <sys/ieeefp.h> // Cyg_libm_ieee_double_shape_type
// GLOBALS
-#if (CYG_BYTEORDER == CYG_MSBFIRST) // Big endian
+#if (CYG_DOUBLE_BYTEORDER == CYG_MSBFIRST) // Big endian
const Cyg_libm_ieee_double_shape_type cyg_libm_infinity = { {0x7ff00000, 0} };
#else // Little endian
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-04 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-04 14:26 Fix libm infinity (bug #1000448) Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).