# Math Exponential Functions

This class represents exponential functions.

Notice
Math exponential functions are the members of the Unigine::Math namespace.

## floatexp ( float v ) #

Returns e raised to the specified power (ev ).

### Arguments

• float v - Power.

### Return value

e raised to the specified power (ev ).

## doubleexp ( double v ) #

Returns e raised to the specified power (ev ).

### Arguments

• double v - Power.

### Return value

e raised to the specified power (ev ).

## floatexp2 ( float v ) #

Returns 2 raised to the specified power (2v ).

### Arguments

• float v - Power.

### Return value

2 raised to the specified power (2v ).

## doubleexp2 ( double v ) #

Returns 2 raised to the specified power (2v ).

### Arguments

• double v - Power.

### Return value

2 raised to the specified power (2v ).

## floatlog ( float v ) #

Returns the natural logarithm of the argument.

### Arguments

• float v - Argument.

### Return value

Natural logarithm of the argument.

## doublelog ( double v ) #

Returns the natural logarithm of the argument.

### Arguments

• double v - Argument.

### Return value

Natural logarithm of the argument.

## floatlog10 ( float v ) #

Returns the base-10 logarithm of the argument.

### Arguments

• float v - Argument.

### Return value

Base-10 logarithm of the argument.

## doublelog10 ( double v ) #

Returns the base-10 logarithm of the argument.

### Arguments

• double v - Argument.

### Return value

Base-10 logarithm of the argument.

## floatpow ( float x, float y ) #

Returns the argument raised to the specified power (xy ).

### Arguments

• float x - Argument.
• float y - Power.

### Return value

Argument raised to the specified power (xy ).

## doublepow ( double x, double y ) #

Returns the argument raised to the specified power (xy ).

### Arguments

• double x - Argument.
• double y - Power.

### Return value

Argument raised to the specified power (xy ).

## floatpow2 ( float x ) #

Returns the argument raised to the power of 2 (squared).

### Arguments

• float x - Argument.

### Return value

Argument raised to the power of 2 (squared).

## doublepow2 ( double x ) #

Returns the argument raised to the power of 2 (squared).

### Arguments

• double x - Argument.

### Return value

Argument raised to the power of 2 (squared).

## intpow2 ( int x ) #

Returns the argument raised to the power of 2 (squared).

### Arguments

• int x - Argument.

### Return value

Argument raised to the power of 2 (squared).

## doubledsqrt ( double v ) #

Returns the square root of the argument.

### Arguments

• double v - Argument.

### Return value

Square root of the argument.

## floatfsqrt ( float v ) #

Returns the square root of the argument.

### Arguments

• float v - Argument.

### Return value

Square root of the argument.

## floatrsqrt ( float v ) #

Returns the inverted square root of the argument.

### Arguments

• float v - Argument.

### Return value

Inverted square root of the argument.

## doublersqrt ( double v ) #

Returns the inverted square root of the argument.

### Arguments

• double v - Argument.

### Return value

Inverted square root of the argument.
Last update: 2023-12-19