freebsd-nq/lib/msun
David Schultz e7780530fa Add a "kernel" log function, based on e_log.c, which is useful for
implementing accurate logarithms in different bases.  This is based
on an approach bde coded up years ago.

This function should always be inlined; it will be used in only a few
places, and rudimentary tests show a 40% performance improvement in
implementations of log2() and log10() on amd64.

The kernel takes a reduced argument x and returns the same polynomial
approximation as e_log.c, but omitting the low-order term. The low-order
term is much larger than the rest of the approximation, so the caller of
the kernel function can scale it to the appropriate base in extra precision
and obtain a much more accurate answer than by using log(x)/log(b).
2010-12-05 22:11:03 +00:00
..
amd64 Use __FBSDID() instead of RCSID() in most .S files under lib/msun/i386, 2010-10-01 20:14:36 +00:00
arm Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
bsdsrc Eliminate some warnings. 2008-02-22 02:26:51 +00:00
i387 Use __FBSDID() instead of RCSID() in most .S files under lib/msun/i386, 2010-10-01 20:14:36 +00:00
ia64 Use, in uncovered part, the END() macro in order to improve debugging. 2009-05-25 14:37:10 +00:00
ld80 On i386, gcc truncates long double constants to double precision 2008-08-02 03:56:22 +00:00
ld128 Add implementations of acosl(), asinl(), atanl(), atan2l(), 2008-07-31 22:41:26 +00:00
man Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
mips Symbol.map is handled by cpp, so use C-style comments 2008-05-03 21:16:08 +00:00
powerpc Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPC 2008-02-24 19:22:53 +00:00
sparc64 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
src Add a "kernel" log function, based on e_log.c, which is useful for 2010-12-05 22:11:03 +00:00
Makefile Disable gcc's built-in rint() function when compiling s_nearbyint.c. 2010-12-03 00:05:49 +00:00
Symbol.map Introduce __isnanf() as an alias for isnanf(), and make the isnan() 2010-06-12 17:32:05 +00:00