| 446 | static inline float ImLog(float x) { return logf(x); } // DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the precision |
| 447 | static inline double ImLog(double x) { return log(x); } |
| 448 | static inline int ImAbs(int x) { return x < 0 ? -x : x; } |
| 449 | static inline float ImAbs(float x) { return fabsf(x); } |
| 450 | static inline double ImAbs(double x) { return fabs(x); } |
| 451 | static inline float ImSign(float x) { return (x < 0.0f) ? -1.0f : (x > 0.0f) ? 1.0f : 0.0f; } // Sign operator - returns -1, 0 or 1 based on sign of argument |
no outgoing calls
no test coverage detected