00646ca204
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. |
||
---|---|---|
.. | ||
gen | ||
net | ||
stdlib | ||
string | ||
sys | ||
_fpmath.h | ||
arith.h | ||
Makefile.inc | ||
SYS.h |