Methods Summary |
---|
static float | ceil(float value)Returns the float conversion of the most negative (i.e. closest to
negative infinity) integer value which is greater than the argument.
return (float)Math.ceil(value);
|
static float | cos(float angle)Returns the closest float approximation of the cosine of the argument.
return (float)Math.cos(angle);
|
static float | exp(float value)Returns the closest float approximation of the raising "e" to the power
of the argument.
return (float)Math.exp(value);
|
static float | floor(float value)Returns the float conversion of the most positive (i.e. closest to
positive infinity) integer value which is less than the argument.
return (float)Math.floor(value);
|
static float | hypot(float x, float y)Returns {@code sqrt(}{@code x}{@code 2}{@code +}
{@code y}{@code 2}{@code )}.
return (float)Math.sqrt(x*x + y*y);
|
static float | pow(float x, float y)Returns the closest float approximation of the result of raising {@code
x} to the power of {@code y}.
return (float)Math.pow(x, y);
|
static float | sin(float angle)Returns the closest float approximation of the sine of the argument.
return (float)Math.sin(angle);
|
static float | sqrt(float value)Returns the closest float approximation of the square root of the
argument.
return (float)Math.sqrt(value);
|