[PATCH][libm] Fix values in __mpexp_twomm1

Joseph S. Myers joseph@codesourcery.com
Thu Dec 27 21:27:00 GMT 2012


On Thu, 27 Dec 2012, Siddhesh Poyarekar wrote:

> Hi,
> 
> __mpexp_twomm1 holds values of 2^-i where i is the value at the same
> offset in the array m1p.  However, the first values of __mpexp_twomm1
> are set as 0 instead of 2^0.  Attached patch fixes this.  There are no
> regressions in the testsuite resulting from this change.  OK to
> commit?

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?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list