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

Function ImPow

extern/imgui/imgui_internal.h:444–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442//#define ImFloorStd(X) floorf(X) // We use our own, see ImFloor() and ImFloorSigned()
443#define ImCeil(X) ceilf(X)
444static inline float ImPow(float x, float y) { return powf(x, y); } // DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the precision
445static inline double ImPow(double x, double y) { return pow(x, y); }
446static inline float ImLog(float x) { return logf(x); } // DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the precision
447static inline double ImLog(double x) { return log(x); }

Callers 4

DragBehaviorTMethod · 0.85
ScaleValueFromRatioTMethod · 0.85
SliderBehaviorTMethod · 0.85

Calls 1

powFunction · 0.50

Tested by

no test coverage detected