| 38 | bool isInRange(int x, int min, int max) { return (x >= min && x <= max); } |
| 39 | |
| 40 | int roundUp(int number, int fixedBase) { |
| 41 | return (number + fixedBase - 1) & ~(fixedBase - 1); |
| 42 | } |
| 43 | |
| 44 | float roundUp(float number, float fixedBase) { |
| 45 | if (fixedBase != 0 && number != 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected