Method | Description | |
---|---|---|
Equals ( float x, float y ) : bool |
Checks whether the two passed numbers are equal, with respect to possible loss of precision caused by rounding values.
|
|
Exp ( float x ) : float |
Raises e to the specified power.
|
|
Lerp ( float x, float y, float l ) : float |
Linearly interpolates between the two passed values.
|
|
Log ( float x ) : float |
Returns the natural (base e) logarithm of the specified number.
|
|
Log10 ( float x ) : float |
Returns the base 10 logarithm of the specified number.
|
|
Pow ( float x, float y ) : float |
Returns the passed number raised to the specified power.
|
|
Sqrt ( float x ) : float |
Returns the square root of the specified number.
|
public static Equals ( float x, float y ) : bool | ||
x | float | /// First number to compare. /// |
y | float | /// Second number to compare. /// |
return | bool |
public static Exp ( float x ) : float | ||
x | float | Power to raise e to. |
return | float |
public static Lerp ( float x, float y, float l ) : float | ||
x | float | /// First value to interpolate. /// |
y | float | /// Second value to interpolate. /// |
l | float |
/// Interpolation parameter. 0 returns |
return | float |
public static Log ( float x ) : float | ||
x | float | Number of get the natural logarithm of. |
return | float |
public static Log10 ( float x ) : float | ||
x | float | Number to get the base 10 logarithm of. |
return | float |
public static Pow ( float x, float y ) : float | ||
x | float | Number to compute the power of. |
y | float | Exponent. |
return | float |
public static Sqrt ( float x ) : float | ||
x | float | /// Number to get the square root of. /// |
return | float |