On Java before version 1.2, every implementation had to be IEEE 754 compliant. Version 1.2 allowed implementations to bring extra precision in intermediate computations for platforms like x87. Thus a modifier strictfp was introduced to enforce strict IEEE 754 computations. Strict floating point has been restored in Java 17.
On Java before version 12 every implementation had to be IEEE 754 compliant Version 12 allowed implementations to bring extra precision in intermediate computations for platforms like x87 Thus a modifier strictfp was introduced to enforce strict IEEE 754 computations Strict floating point has been restored in Java 17