Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: another occurence of "NUM06-J" changed to the link, and the section symbol changed to the HTML encoded one.

...

This method could have unexpected results because of the loss of precision. In FP-strict mode, values of type float have 23 mantissa bits, a sign bit, and an 8-bit exponent. See rule NUM06-J. Use the strictfp modifier for floating-point calculation consistency across platforms for more information about FP-strict mode. The exponent allows type float to represent a larger range than that of type int. However, the 23-bit mantissa means that float supports exact representation only of integers whose representation fits within 23 bits; float supports only approximate representation of integers outside that range.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9c20af2c3f543551-d3624e20-4f584308-ab2ab3eb-4fdef57b358feed39501a6d6"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. References#JLS 05]]

[§5.1.2, Widening Primitive Conversion

http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2]

]]></ac:plain-text-body></ac:structured-macro>

...