This chapter contains information about functions for performing mathematical computations, such as trigonometric functions. Most of these functions have prototypes declared in the header file `math.h'.
All of the functions that operate on floating-point numbers accept
arguments and return results of type double
. In the future,
there may be additional functions that operate on float
and
long double
values. For example, cosf
and cosl
would be versions of the cos
function that operate on
float
and long double
arguments, respectively. In the
meantime, you should avoid using these names yourself. See section Reserved Names.
Go to the first, previous, next, last section, table of contents.