...
| Code Block | ||
|---|---|---|
| ||
float x = 1/3.0f;
System.out.println("Original : " + x);
x = x * 7e-45f;
System.out.println("NormalizedDenormalized: " + x);
x = x / 7e-45f;
System.out.println("Restored : " + x);
|
...
| Code Block | ||
|---|---|---|
| ||
double x = 1/3.0;
System.out.println("Original : " + x);
x = x * 7e-45;
System.out.println("DenormalizedNormalized: " + x);
x = x / 7e-45;
System.out.println("Restored : " + x);
|
...