-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 11, 16, 17
-
Component/s: hotspot
-
b20
-
x86
Different values may be computed by C2 and interpreter for Math.pow(x, 2.0) on x86_32.
E.g., for Math.pow(1.0 / 2047, 2.0),
the interpreter would get 2.38651580386563E-7,
the C2 would get 2.3865158038656307E-7.
E.g., for Math.pow(1.0 / 2047, 2.0),
the interpreter would get 2.38651580386563E-7,
the C2 would get 2.3865158038656307E-7.