math
library operatorsThe unary operators take a single real number to a real result. They include
ceil floor round trunc sin cos tan sinh cosh tanh asin acos atan asinh acosh atanh exp log sqrt cbrt expm1 log1p fabs
The binary operators take a pair of real numbers (
x,
y)
to
a single real number output. They include
pow hypot atan2 remainder bus vid add sub mul div
where the last four correspond to the C language operators +
,
-
, *
, and /
. The functions named bus
and
vid
are like the sub
and div
functions,
respectively, with the order of the operands reversed, as explained in
complex.
The meanings of these operators are documented in the GNU libc
reference
manual or other C language references. They follow IEEE standards including
proper handling of nan
and infinity.