summaryrefslogtreecommitdiff
path: root/libm/powerpc/s_round.c
AgeCommit message (Collapse)Author
2005-12-14Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e.Eric Andersen
on big endian mips the code is compiled as little-endian and the wrong half of the 64-bit point value is examined to check for NaN, etc. This bug also broke fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit().
2005-09-22split out nearbyint, round, trunc from libm/powerpc/s_modf.cPeter S. Mazinger