java.lang.Object | |
↳ | android.util.FloatMath |
Math routines similar to those found in Math
. On
versions of Android with a JIT, these are significantly slower than
the equivalent Math
functions, which should be used in preference
to these.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the float conversion of the most negative (i.e.
| |||||||||||
Returns the closest float approximation of the cosine of the argument.
| |||||||||||
Returns the closest float approximation of the raising "e" to the power
of the argument.
| |||||||||||
Returns the float conversion of the most positive (i.e.
| |||||||||||
Returns
sqrt( x 2 +
y 2 ) . | |||||||||||
Returns the closest float approximation of the result of raising
x to the power of y . | |||||||||||
Returns the closest float approximation of the sine of the argument.
| |||||||||||
Returns the closest float approximation of the square root of the
argument.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the float conversion of the most negative (i.e. closest to negative infinity) integer value which is greater than the argument.
value | to be converted |
---|
Returns the closest float approximation of the cosine of the argument.
angle | to compute the cosine of, in radians |
---|
Returns the closest float approximation of the raising "e" to the power of the argument.
value | to compute the exponential of |
---|
Returns the float conversion of the most positive (i.e. closest to positive infinity) integer value which is less than the argument.
value | to be converted |
---|
Returns sqrt(
x
2
+
y
2
)
.
x | a float number |
---|---|
y | a float number |
Returns the closest float approximation of the result of raising x
to the power of y
.
x | the base of the operation. |
---|---|
y | the exponent of the operation. |
x
to the power of y
.
Returns the closest float approximation of the sine of the argument.
angle | to compute the cosine of, in radians |
---|
Returns the closest float approximation of the square root of the argument.
value | to compute sqrt of |
---|