MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / nk_iceilf

Function nk_iceilf

extern/glfw/deps/nuklear.h:6059–6070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6057 return (int)x;
6058}
6059NK_LIB int
6060nk_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}
6071NK_LIB int
6072nk_log10(double n)
6073{

Callers 3

nk_list_view_beginFunction · 0.85
nk_tooltip_beginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected