mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 16:48:36 -05:00
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.
|
||
|---|---|---|
| .. | ||
| _ctx_start.S | ||
| _set_tp.c | ||
| _setjmp.S | ||
| alloca.S | ||
| divsi3.S | ||
| fabs.c | ||
| infinity.c | ||
| makecontext.c | ||
| Makefile.inc | ||
| modf.c | ||
| setjmp.S | ||
| signalcontext.c | ||
| sigsetjmp.S | ||