Versions Compared

Key

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

...

Using a floating-point representation can result in a loss of precision and accuracy when precise computation is required.

Guideline Rule

Severity

Likelihood

Remediation Cost

Priority

Level

NUM07-J

low

probable

high

P2

L3

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="14f75cb87fee1d73-cd997b57-466e4bd3-9f09acb1-41d9bc2f8159e5adcbc5ce16"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Item 48: Avoid float and double if exact answers are required

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0f0f435ca46e9c5d-584580d6-4f8645b3-bd878046-4d543729badb3f16f10cbc10"><ac:plain-text-body><![CDATA[

[[Bloch 2005

AA. Bibliography#Bloch 05]]

Puzzle 2: Time for a Change

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3122e9385b95be7f-41942c28-458e487f-bb82a29b-48fba9c06b0398fc3689fbee"><ac:plain-text-body><![CDATA[

[[Goldberg 1991

AA. Bibliography#Goldberg 91]]

 

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="eca2f05925503320-e5f88863-42344c8d-bfe2a11c-e2951ebbe1d27d7124f02dde"><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="d43d90ea84725792-6a4641a2-44fc4ae6-814aa881-67afc4bea5798bbb63dfde42"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

[§4.2.3, "Floating-Point Types, Formats, and Values"

http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.2.3]

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

...