Returns the greatest integer less than or equal to the float argument
(float value)
| 66 | * Returns the greatest integer less than or equal to the float argument |
| 67 | */ |
| 68 | public static int floor_float(float value) |
| 69 | { |
| 70 | int i = (int)value; |
| 71 | return value < (float)i ? i - 1 : i; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * returns par0 cast as an int, and no greater than Integer.MAX_VALUE-1024 |
no outgoing calls
no test coverage detected