[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

D.11.1 math library operators

The 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.


This document was generated on November 8, 2012 using texi2html 1.82.