Monday, February 20, 2012

Re: GWT strange code generation on float numbers

.000001 can be expressed in JS floating number. The thing is not in IEEE and runtime number representation. The thing is in that literal constant should not be changed.
I mean if in Java code I see   'float myNum = 0.000001', I expect to see it in generated JS as 'var myNum = 0.000001'

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/i999wNTvMx0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment