tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Z <>
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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message