diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-26 01:38:46 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-02-26 01:38:46 +0300 |
commit | 92a7e06eb8c5f521079d9e799bfa34f479bc61ba (patch) | |
tree | 6bf94312ca211849dfd2f4fd9fa1230f0481d462 /newlib/libm/common | |
parent | 1139537a2536b2ca1632f5ab991935ba25068bcb (diff) |
2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
* libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
L qualifier for these long constants.
Diffstat (limited to 'newlib/libm/common')
-rw-r--r-- | newlib/libm/common/fdlibm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/common/fdlibm.h b/newlib/libm/common/fdlibm.h index 2b1bb79c0..7a0f28db4 100644 --- a/newlib/libm/common/fdlibm.h +++ b/newlib/libm/common/fdlibm.h @@ -71,13 +71,13 @@ #define FLT_UWORD_IS_FINITE(x) ((x)<0x7f800000L) #define FLT_UWORD_IS_NAN(x) ((x)>0x7f800000L) #define FLT_UWORD_IS_INFINITE(x) ((x)==0x7f800000L) -#define FLT_UWORD_MAX 0x7f7fffff +#define FLT_UWORD_MAX 0x7f7fffffL #define FLT_UWORD_EXP_MAX 0x43000000 #define FLT_UWORD_LOG_MAX 0x42b17217 #define FLT_UWORD_LOG_2MAX 0x42b2d4fc #define HUGE ((float)3.40282346638528860e+38) #endif -#define FLT_UWORD_HALF_MAX (FLT_UWORD_MAX-(1<<23)) +#define FLT_UWORD_HALF_MAX (FLT_UWORD_MAX-(1L<<23)) #define FLT_LARGEST_EXP (FLT_UWORD_MAX>>23) /* Many routines check for zero and subnormal numbers. Such things depend |