Versions Compared

Key

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

...

Operating System

Handling FP errors

Linux
Solaris 10
Mac OS X 10.5
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4d96753aff447631-cb91adb8-46e043cf-abc98766-a659bc7d8f00a9a6f7de7229"><ac:plain-text-body><![CDATA[Fedora Core 5

C99 FP functions - These functions are declared in fenv.h [[Open Group 04

AA. C References#Open Group 04]]
]]></ac:plain-text-body></ac:structured-macro>
Before fenv.h based functions were standardized; an alternative to using these C99/fenv() functions is using ieee_flags and ieee_handler

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fc84ac4f44039857-c9015475-49b04b44-b134acfd-ef3222e619b4f865943b2a27"><ac:plain-text-body><![CDATA[

Windows

Structured Exception Handling - user defined handler _fpieee_flt [[MSDN

AA. C References#MSDN]]
]]></ac:plain-text-body></ac:structured-macro>
 

...

FLP02-A. Understand the caveats of floating point exceptions      05. Floating Point (FLP)       FLP30FLP04-C. Do not use floating point variables as loop countersA. Consider avoiding floating point numbers when precise computation is needed