# NAME

SPVM::Time - Time Library

# FUNCTIONS

## E

**sub E : double ()**

The double value that is closer than any other to e, the base of the natural logarithms.

## PI

**sub PI : double ()**

The double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.

## sin

**sub sin : double ($x : double)**

Returns the trigonometric sine of an angle. Special cases:

=item* If the argument is NaN or an infinity, then the result is NaN.

=item* If the argument is zero, then the result is a zero with the same sign as the argument.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**

$x - an angle, in radians.

**Returns:**

the sine of the argument.

## cos

**sub cos : double ($x : double)**

Returns the trigonometric cosine of an angle. Special cases:

=item* If the argument is NaN or an infinity, then the result is NaN.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**

$x - an angle, in radians.

**Returns:**

the cosine of the argument.

## tan

**sub tan : double ($x : double)**

Returns the trigonometric tangent of an angle. Special cases:

=item* If the argument is NaN or an infinity, then the result is NaN.

=item* If the argument is zero, then the result is a zero with the same sign as the argument.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**

$x - an angle, in radians.

**Returns:**

the tangent of the argument.

## asin

**sub asin : double ($x : double)**

Returns the arc sine of a value; the returned angle is in the range -pi/2 through pi/2. Special cases:

If the argument is NaN or its absolute value is greater than 1, then the result is NaN.

If the argument is zero, then the result is a zero with the same sign as the argument.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**$x - the value whose arc sine is to be returned.

**Returns:**the arc sine of the argument.

## acos

**sub acos : double ($x : double)**

Returns the arc cosine of a value; the returned angle is in the range 0.0 through pi. Special case:

If the argument is NaN or its absolute value is greater than 1, then the result is NaN.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**

$x - the value whose arc cosine is to be returned.

**Returns:**

the arc cosine of the argument.

## atan

**sub atan : double ($x : double)**

Returns the arc tangent of a value; the returned angle is in the range -pi/2 through pi/2. Special cases:

If the argument is NaN, then the result is NaN.

If the argument is zero, then the result is a zero with the same sign as the argument.

The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic.

**Parameters:**

$x - the value whose arc tangent is to be returned.

**Returns:**

the arc tangent of the argument.

## erf

` native sub erf : double ($x : double);`

## erfc

` native sub erfc : double ($x : double);`

1 POD Error

The following errors were encountered while parsing the POD:

- Around line 115:
You forgot a '=back' before '=head2'