Zachary1234
Lurker
Is it the case thaqt Android Studio programs, when compiled, build, installed, and run
on Android Smartphones, do experience floating point denormal or pronormal value
inclusion?
For example, what will the following code do, evaluate to true, or false?
double a = 0.1;
double b = 0.1;
double x = a*b;
out.println(x == 0.01);
If the final line produces false, is there a switch for the compiler or runtime that developers
can use to make denormal and pronormal discrepencies simply go away,
for cases that are like this, involving float and double? If so, what is that said switch?
Can someone in the know with all these things kindly reply to me here?
on Android Smartphones, do experience floating point denormal or pronormal value
inclusion?
For example, what will the following code do, evaluate to true, or false?
double a = 0.1;
double b = 0.1;
double x = a*b;
out.println(x == 0.01);
If the final line produces false, is there a switch for the compiler or runtime that developers
can use to make denormal and pronormal discrepencies simply go away,
for cases that are like this, involving float and double? If so, what is that said switch?
Can someone in the know with all these things kindly reply to me here?