Sunday, November 20, 2016

Re: Problem with GWT 2.8

Thanks for the reply.

Compiling with pretty shows the issue.

if (!(Math.abs(x - y) < 0.0001))

gets turned into

if (Math.abs(x - y) >= 0.0001)

So when Math.abs(x - y) results in NaN the if always results in false.

In my mind this is a mistake because it doesn't accurately represent what is happening in Java. Is it enough to report it here or what should I do now?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment