freebsd-dev/lib/libc/powerpc
David Schultz 00646ca204 Replace the ldexp() implementation in libc with a renamed copy of the
scalbn() implementation from libm.  (The two functions are defined to
be identical, but ldexp() lives in libc for backwards compatibility.)
The old ldexp() implementation...
  - was more complicated than this one
  - set errno instead of raising FP exceptions
  - got some corner cases wrong
    (e.g. ldexp(1.0, 2000) in round-to-zero mode)

The new implementation lives in libc/gen instead of
libc/$MACHINE_ARCH/gen, since we don't need N copies of a
machine-independent file.  The amd64 and i386 platforms
retain their fast and correct MD implementations and
override this one.
2005-01-22 06:03:40 +00:00
..
gen Replace the ldexp() implementation in libc with a renamed copy of the 2005-01-22 06:03:40 +00:00
net
sys Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
_fpmath.h Fix printing of long doubles to match the size that 2004-07-19 23:56:07 +00:00
arith.h Add a comment describing why it's important for the values in this 2003-05-08 13:50:44 +00:00
Makefile.inc Add a file missed in the previous commit: 2005-01-15 05:26:32 +00:00
SYS.h We don't need our own personal definition of __CONCAT. 2003-01-18 23:26:04 +00:00