Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Integer type ranges are defined by the JLS, §4.2.1, "Integral Types and Values", [JLS 2005] and are also described in guideline rule "NUM00-J. Detect or prevent integer overflow."

...

Note that conversions from float to double or double to float can also lose information about the overall magnitude of the converted value. See guideline rule "NUM09-J. Use the strictfp modifier for floating point calculation consistency across platforms" for additional information.

...