The following mathematical functions are available:
acosq
: arc cosine functionacoshq
: inverse hyperbolic cosine functionasinq
: arc sine functionasinhq
: inverse hyperbolic sine functionatanq
: arc tangent functionatanhq
: inverse hyperbolic tangent functionatan2q
: arc tangent functioncbrtq
: cube root functionceilq
: ceiling value functioncopysignq
: copy sign of a numbercoshq
: hyperbolic cosine functioncosq
: cosine functionerfq
: error functionerfcq
: complementary error functionexpq
: exponential functionexpm1q
: exponential minus 1 functionfabsq
: absolute value functionfdimq
: positive difference functionfiniteq
: check finiteness of valuefloorq
: floor value functionfmaq
: fused multiply and addfmaxq
: determine maximum of two valuesfminq
: determine minimum of two valuesfmodq
: remainder value functionfrexpq
: extract mantissa and exponenthypotq
: Eucledian distance functionilogbq
: get exponent of the valueisinfq
: check for infinityisnanq
: check for not a numberj0q
: Bessel function of the first kind, first orderj1q
: Bessel function of the first kind, second orderjnq
: Bessel function of the first kind, n-th orderldexpq
: load exponent of the valuelgammaq
: logarithmic gamma functionllrintq
: round to nearest integer valuellroundq
: round to nearest integer value away from zerologq
: natural logarithm functionlog10q
: base 10 logarithm functionlog1pq
: compute natural logarithm of the value plus onelog2q
: base 2 logarithm functionlrintq
: round to nearest integer valuelroundq
: round to nearest integer value away from zeromodfq
: decompose the floating-point numbernanq
: return quiet NaNnearbyintq
: round to nearest integernextafterq
: next representable floating-point numberpowq
: power functionremainderq
: remainder functionremquoq
: remainder and part of quotientrintq
: round-to-nearest integral valueroundq
: round-to-nearest integral value, return __float128
scalblnq
: compute exponent using FLT_RADIX
scalbnq
: compute exponent using FLT_RADIX
signbitq
: return sign bitsincosq
: calculate sine and cosine simultaneouslysinhq
: hyperbolic sine functionsinq
: sine functionsqrtq
: square root functiontanq
: tangent functiontanhq
: hyperbolic tangent functiontgammaq
: true gamma functiontruncq
: round to integer, towards zeroy0q
: Bessel function of the second kind, first ordery1q
: Bessel function of the second kind, second orderynq
: Bessel function of the second kind, n-th ordercabsq
complex absolute value functioncargq
: calculate the argumentcimagq
imaginary part of complex numbercrealq
: real part of complex numbercacoshq
: complex arc hyperbolic cosine functioncacosq
: complex arc cosine functioncasinhq
: complex arc hyperbolic sine functioncasinq
: complex arc sine functioncatanhq
: complex arc hyperbolic tangent functioncatanq
: complex arc tangent functionccosq
complex cosine function:ccoshq
: complex hyperbolic cosine functioncexpq
: complex exponential functioncexpiq
: computes the exponential function of “i” times aclogq
: complex natural logarithmclog10q
: complex base 10 logarithmconjq
: complex conjugate functioncpowq
: complex power functioncprojq
: project into Riemann Spherecsinq
: complex sine functioncsinhq
: complex hyperbolic sine functioncsqrtq
: complex square rootctanq
: complex tangent functionctanhq
: complex hyperbolic tangent function