MCPcopy Create free account
hub / github.com/cinder/Cinder / ImIsFloatAboveGuaranteedIntegerPrecision

Function ImIsFloatAboveGuaranteedIntegerPrecision

include/imgui/imgui_internal.h:528–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526inline float ImLinearRemapClamp(float s0, float s1, float d0, float d1, float x) { return ImSaturate((x - s0) / (s1 - s0)) * (d1 - d0) + d0; }
527inline ImVec2 ImMul(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x * rhs.x, lhs.y * rhs.y); }
528inline bool ImIsFloatAboveGuaranteedIntegerPrecision(float f) { return f <= -16777216 || f >= 16777216; }
529inline float ImExponentialMovingAverage(float avg, float sample, int n){ avg -= avg / n; avg += sample / n; return avg; }
530IM_MSVC_RUNTIME_CHECKS_RESTORE
531

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected