On 15/12/16 20:25, joe darcy wrote:
> Hello,
> 
> Next up in porting fdlibm to Java after cbrt (JDK-8136799), pow 
> (JDK-8134795) and hypot (JDK-7130085) earlier in JDK 9 is exp:
> 
>      JDK-8139688 Port fdlibm exp to Java
>      http://cr.openjdk.java.net/~darcy/8139688.5/
> 
> Same methodology followed as when porting the earlier functions.

As discussed, this test is pointless because it is always true:

+                if(huge+x>one) return one+x;/* trigger inexact */

I understand that we intend to leave the code untouched, but the
inexact flag has no effect in Java code.  Does it really make sense
to translate the code to Java but include such cruft?

Andrew.

Reply via email to