C++ <cmath>

The C++ <cmath> header file declares a set of functions to perform mathematical operations such as: sqrt() to calculate the square root, log() to find natural logarithm of a number etc.

C++ acos()

Returns Inverse cosine a Number

C++ asin()

Returns Inverse Sine a Number

C++ atan()

Returns Inverse tangent a Number

C++ atan2()

Returns Inverse Tangent of a Coordinate

C++ ceil()

Return ceiling value of number

C++ cmath abs()

Returns absolute value of an argument

C++ cos()

Returns Cosine of the Argument

C++ exp()

returns exponential (e) raised to a number

C++ fabs()

Returns absolute value of argument

C++ floor()

Returns floor value of decimal number

C++ fmax()

returns largest among two arguments passed

C++ fmod()

Computes floating point remainder of division

C++ log()

Returns Natural Logarithm of a Number

C++ log10()

Returns Base 10 Logarithm of a Number

C++ log2()

returns base2 logarithm of a number

C++ modf()

Breaks Number Into Integral and Fractional Part

C++ nan()

returns a quiet NaN value

C++ pow()

Computes Power a Number

C++ remainder()

Returns remainder of x/y

C++ round()

Returns integral value nearest to argument

C++ sin()

Returns Sine of the Argument

C++ sqrt()

Computes Square Root of A Number

C++ tan()

Returns Tangent of the Argument

C++ trunc()

Truncates the demical part of a number