Versions Compared

Key

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

...

An expression is strict if any of the contained classes, methods and interfaces is defined to be a strictfp. Constant expressions containing floating point operations are also evaluated strictly. All compile-time constant expressions are by default, strictfp.

Notably, the strict behavior cannot be inherited by a subclass that extends a strictfp superclass. All compile-time constants are by default, strictfp.

Noncompliant Code Example

...