PowerPC and egcs gurus: Help! egcs PPC Float Min != JCK Float Min

David Edelsohn dje at watson.ibm.com
Sun Feb 28 08:43:50 EST 1999


	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

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list