This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][libm] Fix values in __mpexp_twomm1
On Thu, Dec 27, 2012 at 06:00:51PM +0000, Joseph S. Myers wrote:
> How are these values that you change used by the code, or are these array
> entries in fact unused? If they are used, in what circumstances do they
> affect the results generated by libm?
>
The values are currently unused. The minimum precision used in
calling __mpexp is 6 in slowexp; e_log results in a minimum precision
of 8.
I eventually aim to remove them somehow an use m1p directly, but I
figured this would be a good intermediate step. Adding computation to
get 2^-m is turning out to be a little more expensive currently than
the global variable dereference, so I'll try to figure out a cheaper
way.
Siddhesh