Floating Point Calculation Discrepencies between Different Java Versions
Last updated on JUNE 11, 2017
Applies to:Java SE JDK and JRE - Version 6 and later
Information in this document applies to any platform.
Differences in the results of floating point calculations are observed between different Java SE versions. For example, floating point calculations in Java SE 7 Update 25 and previous versions produce the same results whereas, Java SE 7u40 and later versions produce a different result. This causes floating point calculations to change after upgrading from Java SE 6 to Java SE 8 or later patch updates of Java SE 7 or even when applying patch updates from Java SE 7u25 (or earlier) to 7u40 or later.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms