Versions Compared

Key

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

...

When the value to be represented is too small to encode normally, it is encoded in denormalized form, indicated by an exponent value of Float.MIN_EXPONENT - 1 or Double.MIN_EXPONENT - 1. Denormalized floating-point numbers have an assumed 0 in the ones place and have a zero or more leading zeros in the represented portion of their mantissa. These leading zero bits no longer function as significant bits of precision; consequently, the total precision of denormalized floating-point numbers is less than that of normalized floating-point numbers. Note that even using normalized numbers where precision is required can pose a risk. See rule "NUM07NUM04-J. Avoid using floating-point numbers when precise computation is required" for more information.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="726fb211970df612-643d830c-441c49d9-a3d8aa13-760f4cfc3fed0e821e193056"><ac:plain-text-body><![CDATA[

[[IEEE 754

AA. Bibliography#IEEE 754 2006]]

 

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9a4d4fa03a4f0b89-aa974df7-40594595-8948821b-b724cd04a6046cf2416316e1"><ac:plain-text-body><![CDATA[

[[Bryant 2003

AA. Bibliography#Bryant 03]]

Computer Systems: A Programmer's Perspective. Section 2.4 Floating Point

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

...

NUM07NUM04-J. Avoid using floating-point numbers when precise computation is required      03. Numeric Types and Operations (NUM)      NUM09-J. Use the strictfp modifier for floating point calculation consistency across platforms