B.2 Math functions

List of math functions.

Table B-2 Math functions

Function   Function   Function
fabs()   acos()   acosh()
ceil()   acospi()   asinh()
fdim()   asin()   atanh()
fmax()   asinpi()   copysign()
fmin()   atan()   erfc()
mad()   atan2()   erf()
maxmag()   atanpi()   fmod()
minmag()   atan2pi()   fract()
rint()   cbrt()   frexp()
round()   cos()   hypot()
trunc()   cosh()   ilogb()
-   cospi()   ldexp()
-   exp()   lgamma()
-   exp2()   lgamma_r()
-   exp10()   log()
-   expml()   log10()
-   floor()   log1p()
-   fma()   logb()
-   log2()   modf()
-   pow()   nan()
-   pown()   nextafter()
-   powr()   remainder()
-   rsqrt()   remquo()
-   sin()   rootn()
-   sincos()   sinh()
-   sinpi()   tan()
-   sqrt()   tanh()
-   -   tanpi()
-   -   tgamma()

Note

The ulp error of lgamma() is 16ulp unless the correctly rounded result is less than one. If the correctly rounded result is less than one, lgamma() is also less than one. The error of lgamma_r() is same as lgamma().
lgamma() is logarithmic, so if the correctly rounded result is small, the precision of the result is not important.
Non-ConfidentialPDF file icon PDF versionARM 100614_0300_00_en
Copyright © 2012, 2013, 2015, 2016 ARM. All rights reserved.