| 6057 | return (int)x; |
| 6058 | } |
| 6059 | NK_LIB int |
| 6060 | nk_iceilf(float x) |
| 6061 | { |
| 6062 | if (x >= 0) { |
| 6063 | int i = (int)x; |
| 6064 | return (x > i) ? i+1: i; |
| 6065 | } else { |
| 6066 | int t = (int)x; |
| 6067 | float r = x - (float)t; |
| 6068 | return (r > 0.0f) ? t+1: t; |
| 6069 | } |
| 6070 | } |
| 6071 | NK_LIB int |
| 6072 | nk_log10(double n) |
| 6073 | { |
no outgoing calls
no test coverage detected