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="4a2c7f48d27d545e-978f24e8-4d0f4ff1-80a1b099-fe5c93141902378ae20ce83e"><ac:plain-text-body><![CDATA[Fedora Core 5

C99 FP functions - These functions are declared in fenv.h [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="415419e51a91045d-0fcea596-44bb4623-b8c79920-cb4ee95bff3ff56f2c4893d0"><ac:plain-text-body><![CDATA[

Windows

Structured Exception Handling - user defined handler _fpieee_flt [3MSDN]
]]></ac:plain-text-body></ac:structured-macro>
 

...

Wiki Markup
\[1\] IEEE standard for binary floating-point arithmetic
[http://ieeexplore.ieee.org/xpl/standardstoc.jsp?isnumber=1316]
Wiki Markup

\[[OpenIntel Group 0401|AA. C References#OpenReferences#Intel Group 0401]\] "
\[fenv.h - Floating point environment\|http://www.opengroup.org/onlinepubs/009695399/basedefs/fenv.h.html"
Wiki Markup
\[3\] MSDN - CRT - fpieee_flt
[http://msdn2[Keil 08|AA. C References#Keil 08]\]
\[[MSDN|AA. C References#MSDN]\] "[fpieee_flt (CRT)|http://msdn.microsoft.com/en-us/library/te2k2f2t(VS.80).aspx]

Wiki Markup
\[4\] Floating-Point IEEE Filter for Microsoft\* Windows\* 2000 on the Intel® Itanium™ Architecture
[ftp://download.intel.com/software/opensource/libraries/ieee/ieee_filter_windows2000.pdf]

Wiki Markup
\[5\] Linux Kernel Floating Point Exception Handler Local Denial of Service Vulnerability
["
\[[Open Group 04|AA. C References#Open Group 04]\] "[fenv.h - Floating point environment|http://www.securityfocusopengroup.comorg/onlinepubs/bid009695399/10538/discuss]
Wiki Markup
\[6\] ARM support for floating-point computations
[http://www.keil.com/support/man/docs/armlib/armlib_bihbjiea.htm]\\basedefs/fenv.h.html]"
\[[SecurityFocus 07|AA. C References#SecurityFocus 07]\] 

...

FLP02-A. Understand the caveats of floating point exceptions      05. Floating Point (FLP)       FLP30-C. Do not use floating point variables as loop counters