...
Code Block | ||
---|---|---|
| ||
float x = 1/3.0f; System.out.println("Original : " + x); x = x * 7e-45f; System.out.println("Denormalized? : " + x); x = x / 7e-45f; System.out.println("Restored : " + x); |
...
Code Block |
---|
Original : 0.33333334 Denormalized? : 2.8E-45 Restored : 0.4 |
Compliant Solution
...
Code Block | ||
---|---|---|
| ||
double x = 1/3.0; System.out.println("Original : " + x); x = x * 7e-45; System.out.println("Denormalized? : " + x); x = x / 7e-45; System.out.println("Restored : " + x); |
...
Code Block |
---|
Original : 0.3333333333333333 Denormalized? : 2.333333333333333E-45 Restored : 0.3333333333333333 |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4793a8f8e02b2bc4-bed05eb2-4da646d8-ad27aab6-99ddee3ad72698a0bfde1daf"><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> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="80c40059ae6e8e05-0f98ea1b-41ec4f1d-a54296fe-073747feccdf49f9163696e5"><ac:plain-text-body><![CDATA[ | [[CVE 2008 | AA. Bibliography#CVE 08]] | [CVE-2010-4476 | http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4476] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0d06ec89e3d5f663-8963d2f7-41714827-842a98f8-32cd352f40830eb281afb935"><ac:plain-text-body><![CDATA[ | [[IEEE 754 | AA. Bibliography#IEEE 754 2006]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
...