From 6aec558e301b7d86a8ed12caa080ffb3f8ffb0e8 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 8 Jul 2002 18:05:58 +0000 Subject: [PATCH] 2002-07-08 Jeff Johnston * libc/include/math.h (MAXFLOAT): Added. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/math.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6463de436..22540e5fe 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-07-08 Jeff Johnston + + * libc/include/math.h (MAXFLOAT): Added. + Mon Jul 8 13:55:23 2002 J"orn Rennecke * libc/machine/sh/Makefile.am (lib_a_SOURCES): diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index f1a30ad94..ee2f08701 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