cppreference.com
Create account
Log in
Namespaces
Template
Discussion
Variants
Views
View
Edit
History
Actions
Template:cpp/numeric/fenv/navbar
From cppreference.com
C++
Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros
(C++20)
Language support library
Concepts library
(C++20)
Metaprogramming library
(C++11)
Diagnostics library
General utilities library
Strings library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Numerics library
Localizations library
Input/output library
Filesystem library
(C++17)
Regular expressions library
(C++11)
Concurrency support library
(C++11)
Execution support library
(C++26)
Technical specifications
Symbols index
External libraries
[edit]
Numerics library
Common mathematical functions
Mathematical special functions
(C++17)
Mathematical constants
(C++20)
Basic linear algebra algorithms
(C++26)
Floating-point environment
(C++11)
Complex numbers
Numeric array (
valarray
)
Pseudo-random number generation
Factor operations
gcd
(C++17)
lcm
(C++17)
Interpolations
midpoint
(C++20)
lerp
(C++20)
Saturation arithmetic
add_sat
(C++26)
sub_sat
(C++26)
saturate_cast
(C++26)
mul_sat
(C++26)
div_sat
(C++26)
Generic numeric operations
iota
(C++11)
ranges::iota
(C++23)
accumulate
inner_product
adjacent_difference
partial_sum
reduce
(C++17)
transform_reduce
(C++17)
inclusive_scan
(C++17)
exclusive_scan
(C++17)
transform_inclusive_scan
(C++17)
transform_exclusive_scan
(C++17)
Bit operations
has_single_bit
(C++20)
bit_cast
(C++20)
bit_ceil
(C++20)
bit_floor
(C++20)
bit_width
(C++20)
rotl
(C++20)
rotr
(C++20)
popcount
(C++20)
countl_zero
(C++20)
countl_one
(C++20)
countr_zero
(C++20)
countr_one
(C++20)
byteswap
(C++23)
endian
(C++20)
[edit]
Floating-point environment
Functions
feclearexcept
(C++11)
fetestexcept
(C++11)
feraiseexcept
(C++11)
fegetexceptflag
fesetexceptflag
(C++11)
(C++11)
fegetround
fesetround
(C++11)
(C++11)
fegetenv
fesetenv
(C++11)
(C++11)
feholdexcept
(C++11)
feupdateenv
(C++11)
Macro constants
FE_ALL_EXCEPT
FE_DIVBYZERO
FE_INEXACT
FE_INVALID
FE_OVERFLOW
FE_UNDERFLOW
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
FE_DOWNWARD
FE_TONEAREST
FE_TOWARDZERO
FE_UPWARD
(C++11)
(C++11)
(C++11)
(C++11)
FE_DFL_ENV
(C++11)
[edit]