From cppreference.com
The C numerics library includes common mathematical functions and types, as well as support for random number generation.
The header
provides
standard C library mathematical functions
such as
,
, and
.
The header
defines
flags and functions related to exceptional floating-point state
, such as overflow and division by zero.
Pseudo-random number generation
The header
also includes C-style random number generation via
and
.
The header
provides types and functions to work with
.
The header
provides some macros for a function which names XXX:
real function:
float variant XXXf
double variant XXX
longdouble variant XXXl
complex function:
float variant cXXXf
double variant cXXX
longdouble variant cXXXl
(since C23)
The header
provides macros and functions to work with the
and
of C objects.
Checked integer arithmetic (since C23)
Provides some
for checked integer arithmetic:
(C23)
checked addition operation on two integers
(type-generic function macro)
(C23)
checked subtraction operation on two integers
(type-generic function macro)
(C23)
checked multiplication operation on two integers
(type-generic function macro)
See also