This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]