Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | A Z <powerus...@live.com.au> |
Subject | Question about TomEE and OpenEJB. |
Date | Tue, 13 Mar 2018 03:37:06 GMT |
-Do floats and doubles in TomEE, as well as in OpenEJB, still have the same floating point overflow and underflow arithmetic phenomena as in Java Standard Edition? -I refer to the following kind of phenomonen: Double a = 0.1; Double b = 0.1; Double x = a*b; out.println(x == 0.01); //actually prints false. -Do TomEE or OpenEJB have some option to get rid of overflow and underflow entirely, by means of some kind of option? If so, what is that? | |
Mime |
|
View raw message |