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

Function ImLog

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

Source from the content-addressed store, hash-verified

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); }
448static inline int ImAbs(int x) { return x < 0 ? -x : x; }
449static inline float ImAbs(float x) { return fabsf(x); }

Callers 1

ScaleRatioFromValueTMethod · 0.85

Calls 1

logFunction · 0.50

Tested by

no test coverage detected