This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: De-string math/atest-exp2 constants
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Wed, 15 May 2013 21:02:44 -0400
- Subject: Re: De-string math/atest-exp2 constants
- References: <519412DA dot 7080301 at twiddle dot net>
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.