Namespaces
Variants
Views
Actions

Difference between revisions of "c/numeric/fenv"

From cppreference.com
< c‎ | numeric
m (Text replace - "{{tdcl" to "{{dcl")
m (Text replace - "/sidebar" to "/navbar")
Line 1: Line 1:
 
{{title|Floating point environment}}
 
{{title|Floating point environment}}
{{c/numeric/fenv/sidebar}}
+
{{c/numeric/fenv/navbar}}
  
 
{{todo|description from C++}}
 
{{todo|description from C++}}

Revision as of 11:53, 15 June 2012

Types

Defined in header <fenv.h>
fenv_t The type representing the entire floating-point environment
fexcept_t The type representing all floating-point status flags collectively

Functions

clears the specified floating-point status flags
(function)
determines which of the specified floating-point status flags are set
(function)
raises the specified floating-point exceptions
(function)
copies the state of the specified floating-point status flags from or to the floating-point environment
(function)
gets or sets rounding direction
(function)
saves or restores the current floating point environment
(function)
saves the environment, clears all status flags and ignores all future errors
(function)
restores the floating-point environment and raises the previously raise exceptions
(function)

Macros

floating-point exceptions
(macro constant)
floating-point rounding direction
(macro constant)
default floating-point environment
(macro constant)