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="271655ca12cded04-083f7502-40a343c0-9bf5b6a7-225dde9ebb43020889bd6146"><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="5c00f46669ecf771-9080b53a-42054b13-b0448627-aa8b9216a82faf8164e11544"><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="9483f6bc56aafcbb-362eec30-4f7e4ddd-8f79abf6-b7e7f9b0013ec6283a044fd3"><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="aeab9b5cf1173f3f-49f71ee9-4fc4413a-8d53b14e-99c2d33901536385b01abd92"><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="a2abf5fb178a2fb5-7f4ea57e-48094895-8e42a092-03767290a6f13b17a185a4d0"><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>

...