# Math Class extending Object

/ Responsible for all math situations. Provides a handful of standard Math methods to assist you in your mathematical operations /

# Class Methods

Returns the sine of an angle of x radians.

``` function sin(number value) : number ```

Returns the cosine of an angle of x radians

``` function cos(number value) : number ```

Returns the absolute number

``` function abs(number value) : number ```

Returns the principal value of the arc cosine of x, expressed in radians.
In trigonometrics, arc cosine is the inverse operation of cosine.

``` function acos(number x) : number ```

Compute area hyperbolic cosine
Returns the nonnegative area hyperbolic cosine of x.
The area hyperbolic cosine is the inverse operation of the hyperbolic cosine.

``` function acos(number x) : number ```

Returns the tangent of an angle of x radians.

``` function tan(number x) : number ```

Returns the principal value of the arc sine of x, expressed in radians.

``` function asin(number x) : number ```

Returns the principal value of the arc tangent of x, expressed in radians.
In trigonometrics, arc tangent is the inverse operation of tangent.

``` function atan(number x) : number ```

Returns the principal value of the arc tangent of y/x, expressed in radians.
To compute the value, the function takes into account the sign of both arguments in order to determine the quadrant.
In C++, this function is overloaded in (see valarray atan2).

``` function atan2(number y, number x) : number ```

Returns the hyperbolic cosine of x.

``` function cosh(number x) : number ```

Returns the hyperbolic sine of x.

``` function sinh(number x) : number ```

Returns the hyperbolic tangent of x.

``` function tanh(number x) : number ```

Returns the area hyperbolic tangent of x.

``` function asinh(number x) : number ```

Returns the area hyperbolic sine of x.

``` function asinh(number x) : number ```

Returns the base-e exponential function of x, which is e raised to the power x: ex.

``` function exp(number x) : number ```

Returns the result of multiplying x (the significand) by 2 raised to the power of exp (the exponent).

``` function ldexp(number x, number exp) : number ```

Returns the natural logarithm of x.

``` function log(number x) : number ```

Returns the common (base-10) logarithm of x.

``` function log10(number x) : number ```

Returns the base-2 exponential function of x, which is 2 raised to the power x: 2x.

``` function exp2(number x) : number ```

Returns the integral part of the logarithm of |x|, using FLT_RADIX as base for the logarithm.

``` function ilogb(number x) : number ```

Returns the natural logarithm of one plus x.

``` function log1p(number x) : number ```

Returns the binary (base-2) logarithm of x.

``` function log2(number x) : number ```

Returns the logarithm of |x|, using FLT_RADIX as base for the logarithm.

``` function logb(number x) : number ```

Scales x by FLT_RADIX raised to the power of n, returning the same as:
scalbn(x,n) = x FLT_RADIXn
Presumably, x and n are the components of a floating-point number in the system; In such a case, this function may be optimized to be more efficient than the theoretical operations to compute the value explicitly.

``` function scalbn(number x, number n) : number ```

Scales x by FLT_RADIX raised to the power of n, returning the result of computing:
scalbn(x,n) = x FLT_RADIXn
Presumably, x and n are the components of a floating-point number in the system; In such a case, this function may be optimized to be more efficient than the theoretical operations to compute the value explicitly.

``` function scalbln(number x, number n) : number ```

Returns base raised to the power exponent:

``` function pow(number base, number exponent) : number ```

Returns the square root of x.

``` function sqrt(number x) : number ```

Returns the cubic root of x.

``` function cbrt(number x) : number ```

Returns the hypotenuse of a right-angled triangle whose legs are x and y.
The function returns what would be the square root of the sum of the squares of x and y (as per the Pythagorean theorem), but without incurring in undue overflow or underflow of intermediate values.

``` function hypot(number x, number y) : number ```

Rounds x upward, returning the smallest integral value that is not less than x.

``` function ceil(number x) : number ```

Rounds x downward, returning the largest integral value that is not greater than x.

``` function floor(number x) : number ```

Returns the integral value that is nearest to x, with halfway cases rounded away from zero.

``` function round(number x) : number ```