diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/math.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6463de4..22540e5 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-07-08 Jeff Johnston <jjohnstn@redhat.com> + + * libc/include/math.h (MAXFLOAT): Added. + Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com> * libc/machine/sh/Makefile.am (lib_a_SOURCES): diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index f1a30ad..ee2f087 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -313,6 +313,8 @@ extern int matherr _PARAMS((struct exception *e)); /* Useful constants. */ +#define MAXFLOAT 3.40282347e+38F + #define M_E 2.7182818284590452354 #define M_LOG2E 1.4426950408889634074 #define M_LOG10E 0.43429448190325182765 |