This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC and egcs gurus: Help! egcs PPC Float Min != JCK Float Min
- To: "Kevin B. Hendricks" <kbhend at business dot wm dot edu>
- Subject: Re: PowerPC and egcs gurus: Help! egcs PPC Float Min != JCK Float Min
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sat, 27 Feb 1999 16:43:50 -0500
- Cc: linuxppc-dev at lists dot linuxppc dot org, egcs at egcs dot cygnus dot com
There seems to be some confusion between FLT_MIN and MINFLOAT.
FLT_MIN is the smallest NORMALIZED float = 1.1754943508222875e-38F
MINFLOAT is the smallest float (_EXPBASE ** (FMINEXP - 1)) = 1.40129846432481707e-45
I do not know how the JCK actually is testing this, but the
PowerPC IEEE single-precision floating point can represent both values and
the real minimum depends on what one actually means. float.h FLT_MIN does
not have the same meaning as Java Float_Min.
David