das 225ceb18e8 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
..
2010-10-31 04:45:25 +00:00
2010-08-03 17:40:09 +00:00
2010-08-03 17:40:09 +00:00
2010-12-04 08:44:56 +00:00
2010-06-13 01:27:29 +00:00
2010-11-19 09:59:55 +00:00
2010-08-03 17:40:09 +00:00
2010-11-06 10:54:33 +00:00
2010-08-03 17:40:09 +00:00
2010-11-11 15:48:27 +00:00