MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImPow

Function ImPow

KBotExt/imgui/imgui_internal.h:424–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422//#define ImFloorStd(X) floorf(X) // We use our own, see ImFloor() and ImFloorSigned()
423#define ImCeil(X) ceilf(X)
424static inline float ImPow(float x, float y) { return powf(x, y); } // DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the precision
425static inline double ImPow(double x, double y) { return pow(x, y); }
426static inline float ImLog(float x) { return logf(x); } // DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the precision
427static inline double ImLog(double x) { return log(x); }

Callers 4

DragBehaviorTMethod · 0.85
ScaleValueFromRatioTMethod · 0.85
SliderBehaviorTMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected