libc/newlib/libm
Szabolcs Nagy 07e2c32828 New log2 implementation
The new implementation is provided under !__OBSOLETE_MATH, it uses
ISO C99 code.  With default settings the worst case error in nearest
rounding mode is 0.547 ULP with inlined fma and fma contraction.  It uses
a 1 KB lookup table, on aarch64 .text+.rodata size of libm.a is increased
by 1584 bytes.

Note that the math.h header defines log2(x) to be log(x)/Ln2, this is
not changed, so the new code is only used if that macro is suppressed.

Improvements on Cortex-A72:
latency: 2.0x
thruput: 2.2x
2018-06-27 15:40:49 +02:00
..
common New log2 implementation 2018-06-27 15:40:49 +02:00
complex Add nvptx port. 2018-04-13 15:42:37 -04:00
machine Revert "Remove -fno-builtin to allow gcc to inline functions such as fabs, floor, creal, imag." 2018-06-26 10:17:04 +02:00
math New log implementation 2018-06-27 15:40:49 +02:00
mathfp ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
test ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
Makefile.am Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.in Bump release to 2.5.0 for yearly snapshot. 2016-12-22 21:33:54 -05:00
aclocal.m4 Fix libm regenerated files again. 2016-02-17 17:06:46 -05:00
config.h.in import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
configure Revert "Remove -fno-builtin to allow gcc to inline functions such as fabs, floor, creal, imag." 2018-06-26 10:17:04 +02:00
configure.in * libc/include/complex.h: New complex header. 2010-10-08 10:35:14 +00:00
libm.in.xml Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
libm.texinfo Fix versions in documentation (manually for now) 2017-01-09 16:22:02 +01:00