1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/lib/libc/sparc64
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
..
fpu
gen Replace the ldexp() implementation in libc with a renamed copy of the 2005-01-22 06:03:40 +00:00
net
stdlib Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc. 2005-01-15 05:23:58 +00:00
string
sys
_fpmath.h
arith.h
Makefile.inc Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc. 2005-01-15 05:23:58 +00:00
SYS.h