| java.lang.Object | |
| ↳ | android.util.FloatMath | 
Math routines similar to those found in Math. Performs computations on float values directly without incurring the overhead of conversions to and from double. 
On one platform, FloatMath.sqrt(100) executes in one third of the time required by java.lang.Math.sqrt(100).
| 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(x2+y2). | |||||||||
|  |  | 
           Returns the closest float approximation of the result of raising 
            xto the power ofy. | |||||||||
|  |  | 
           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(x2+  y2).
| 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 | 
|---|