De-string math/atest-exp2 constants
Carlos O'Donell
carlos@redhat.com
Thu May 16 01:02:00 GMT 2013
On 05/15/2013 06:57 PM, Richard Henderson wrote:
> As discussed elsewhere, tested on x86_64. Ok?
>
>
> r~
>
>
> * math/atest-exp2.c (LIMB64): New macro.
> (CONSTSZ): New macro.
> (mp_exp1, mp_exp_m1, mp_log2): New variables.
> (hexdig): Move ...
> (print_mpn_fp): ... to function scope.
> (read_mpn_hex): Remove.
> (get_log2): Remove.
> (exp2_mpn): Use mp_log2.
> (main): Use mp_exp1.
I double checked the string to limb conversion.
Looks good to me.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list