A Z
2018-03-13 03:37:06 UTC
-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?
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?