freebsd-dev/lib/msun
David Schultz b052ec9065 Various changes to improve the accuracy and speed of log{2,10}{,f}.
- Rename __kernel_log() to k_log1p().
- Move some of the work that was previously done in the kernel log into
  the callers.  This enables further refactoring to improve accuracy or
  speed, although I don't recall the details.
- Use extra precision when adding the final scaling term, which improves
  accuracy.
- Describe and work around compiler problems that break some of the
  multiprecision calculations.

A fix for a small bug is also included:
- Add a special case for log*(1).  This is needed to ensure that log*(1) == +0
  instead of -0, even when the rounding mode is FE_DOWNWARD.

Submitted by:	bde
2011-10-15 05:23:28 +00:00
..
amd64 Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
arm Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
bsdsrc Eliminate some warnings. 2008-02-22 02:26:51 +00:00
i387 Replace two lines accidentally removed in r226218. Thanks to bde 2011-10-15 04:17:20 +00:00
ia64 Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
ld80 Fix clang warnings. 2011-06-18 13:56:33 +00:00
ld128 Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
man Implement the long double version for the cube root function, cbrtl. 2011-03-12 16:50:39 +00:00
mips Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
powerpc Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
sparc64 Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00
src Various changes to improve the accuracy and speed of log{2,10}{,f}. 2011-10-15 05:23:28 +00:00
Makefile Take two. Add the missing file that should have been committed 2011-03-12 19:37:35 +00:00
Symbol.map Provide external definitions of all of the standardized functions in 2011-10-10 15:43:09 +00:00