...
If precise computation is necessary, such as when performing currency calculations, then floating-point types must not be used, Instead, use an alternative representation that is able to can completely represent the necessary values.
...
FLP02-C. Avoid using floating point numbers when precise computation is needed | ||||
FLP02-CPP. Avoid using floating point numbers when precise computation is needed | ||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="67b5c5dec66229e5-a35c62e4-4ff84f54-bf32a177-bf6582c73466dd892febcd52"><ac:plain-text-body><![CDATA[ | [ISO/IEC TR 24772:2010 | http://www.aitcnet.org/isai/] | "Floating?point Arithmetic [PLF]" | ]]></ac:plain-text-body></ac:structured-macro> |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="94fd053261381aaf-b8247fcf-4d1d4407-9da6aea9-1152aaaac25b253d9f488abf"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch 08]] | Item 48: Avoid | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7f9d1011bc6a550c-f5cfb203-496947ad-83019ddb-db5d64bfc962f3d37c93f356"><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="3541c1def41e72de-85a1eee9-493d46d0-8ed2affb-2fb4e43d955b8aae049963f6"><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="f18f7bf7987afb15-1a694080-41c44347-90e19dd5-de6566fe11e490d489d36d68"><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="323be649c80c1a72-5f27dbc4-41784a7d-b3a89cc2-61c226d3ea4c3da89f101300"><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> |
...