logic in Math.nextAfter for handling -0.0 input

Tom Rodriguez tom.rodriguez at oracle.com
Mon Jun 23 22:05:57 UTC 2014


Why are you negating NEGATIVE_INFINITY?

tom

On Jun 23, 2014, at 2:55 PM, Deneau, Tom <tom.deneau at amd.com> wrote:

>     double direction = (gid & 1) == 0 ? Double.POSITIVE_INFINITY : -Double.NEGATIVE_INFINITY;
> 



More information about the graal-dev mailing list