22. Services Provided by the Math Library (libm)¶
22.1. Introduction¶
This section lists the routines that provided by the Newlib Math Library (libm).
22.2. Standard Math Functions (math.h)¶
acos- Arccosineacosh- Inverse hyperbolic cosineasin- Arcsineasinh- Inverse hyperbolic sineatan- Arctangentatan2- Arctangent of y/xatanh- Inverse hyperbolic tangentjN- Bessel functions (jN and yN)cbrt- Cube rootcopysign- Sign of Y and magnitude of Xcosh- Hyperbolic cosineerf- Error function (erf and erfc)exp- Exponentialexpm1- Exponential of x and - 1fabs- Absolute value (magnitude)floor- Floor and ceiling (floor and ceil)fmod- Floating-point remainder (modulo)frexp- Split floating-point numbergamma- Logarithmic gamma functionhypot- Distance from originilogb- Get exponentinfinity- Floating infinityisnan- Check type of numberldexp- Load exponentlog- Natural logarithmslog10- Base 10 logarithmslog1p- Log of 1 + Xmatherr- Modifiable math error handlermodf- Split fractional and integer partsnan- Floating Not a Numbernextafter- Get next representable numberpow- X to the power Yremainder- remainder of X divided by Yscalbn- scalbnsin- Sine or cosine (sin and cos)sinh- Hyperbolic sinesqrt- Positive square roottan- Tangenttanh- Hyperbolic tangent