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: [COMMITTED] PowerPC: fix hypot/hypotf check for -INF


On Fri, May 17, 2013 at 8:22 AM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> Testing on POWER4/5/6 I found an issue with recent hypot (-INF, ...) and
> PPC code. The fix is trivial: the return FP->INT transformation should
> return the absolute value of the number so the following comparison does
> not fail for -INF.
>
> ---
>
> 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
>
>         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
>         negative infinity on POWER6 or lower.
>         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.

Thanks Adhemerval!

Ryan


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