diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-08 18:05:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-08 18:05:58 +0000 |
commit | 6aec558e301b7d86a8ed12caa080ffb3f8ffb0e8 (patch) | |
tree | e18d8663cca9058e1440b9fd15dd60c734c93398 /newlib | |
parent | fcafffa6e5129168e02db8bcba5c72d890a95008 (diff) | |
download | newlib-6aec558e301b7d86a8ed12caa080ffb3f8ffb0e8.zip newlib-6aec558e301b7d86a8ed12caa080ffb3f8ffb0e8.tar.gz newlib-6aec558e301b7d86a8ed12caa080ffb3f8ffb0e8.tar.bz2 |
2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (MAXFLOAT): Added.
Diffstat (limited to 'newlib')
-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 |