This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: De-string math/atest-exp2 constants


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]