potential error in fdlibm asin
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Mon Dec 5 15:43:22 UTC 2016
Ah, you mean it sets some status in the processor?
If the if is always executed the code is all fine.
I'll remove the unnecessary 'else' and add a comment 'Never reached' behind the if.
Thanks for your help!
Best regards,
Goetz.
> -----Original Message-----
> From: Andrew Haley [mailto:aph at redhat.com]
> Sent: Montag, 5. Dezember 2016 15:54
> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; core-libs-
> dev at openjdk.java.net
> Subject: Re: potential error in fdlibm asin
>
> On 05/12/16 13:29, Lindenmaier, Goetz wrote:
> > does anybody know for which x
> > huge+x>one
> > does _not_hold? Where
> > huge = 1.000e+300,
> > one = 1.00000000000000000000e+00
> > |x| < 2**-27
>
> There is nothing. That branch is always taken; the only purpose is to try
> to set the inexact flag if x != 0.
>
> Andrew.
More information about the core-libs-dev
mailing list