
Common mathematical functions - C++ - API Reference Document
Common mathematical functions Common mathematical functions
std::cos, std::cosf, std::cosl - C++ - API Reference Document
Error handling Errors are reported as specified in math_errhandling. If the implementation supports IEEE floating-point arithmetic (IEC 60559), if the argument is ±0, the result is 1.0 if the argument is ±∞, …
cos, cosf, cosl - C++ - API Reference Document
Error handling Errors are reported as specified in math_errhandling. If the implementation supports IEEE floating-point arithmetic (IEC 60559), if the argument is ±0, the result is 1.0 if the argument is ±∞, …
Common mathematical functions - C++ - API Reference Document
7.12 Mathematics <math.h> (p: 231-261) 7.22 General utilities <stdlib.h> (p: 340-360) 7.31.5 Format conversion of integer types <inttypes.h> (p: 455) 7.31.12 General utilities <stdlib.h> (p: 456) C99 …
std::pow, std::powf, std::powl - C++ - API Reference Document
Errors are reported as specified in math_errhandling. If base is finite and negative and exp is finite and non-integer, a domain error occurs and a range error may occur.
std::floor, std::floorf, std::floorl - C++ - API Reference Document
Error handling Errors are reported as specified in math_errhandling. If the implementation supports IEEE floating-point arithmetic (IEC 60559), The current rounding mode has no effect. If arg is ±∞, it is …
std::round, std::roundf, std::roundl, std::lround, std::lroundf, std ...
Errors are reported as specified in math_errhandling. If the result of std::lround or std::llround is outside the range representable by the return type, a domain error or a range error may occur.
std::ceil, std::ceilf, std::ceill - C++ - API Reference Document
Error handling Errors are reported as specified in math_errhandling. If the implementation supports IEEE floating-point arithmetic (IEC 60559), The current rounding mode has no effect. If arg is ±∞, it is …
std::sqrt, std::sqrtf, std::sqrtl - C++ - API Reference Document
Errors are reported as specified in math_errhandling Domain error occurs if arg is less than zero. If the implementation supports IEEE floating-point arithmetic (IEC 60559), If the argument is less than -0, …
fma, fmaf, fmal - C++ - API Reference Document
Error handling Errors are reported as specified in math_errhandling. If the implementation supports IEEE floating-point arithmetic (IEC 60559), If x is zero and y is infinite or if x is infinite and y is zero, and z …