MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Math_AbsI

Function Math_AbsI

src/ExtMath.h:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37float Math_Mod1(float x);
38
39static CC_INLINE int Math_AbsI(int x) { return x < 0 ? -x : x; }
40
41static CC_INLINE float Math_SafeDiv(float a, float b) {
42 if (Math_AbsF(b) < 0.000001f) return MATH_LARGENUM;

Callers 15

MovedFromBegFunction · 0.85
Floor_RenderPointFunction · 0.85
Floor_RenderLineFunction · 0.85
BuildMapSidesFunction · 0.85
Physics_DeleteSpongeFunction · 0.85
ProcessJoystickFunction · 0.85
UpdatesScreen_FormatTimeFunction · 0.85
TreeGen_GrowFunction · 0.85
ProcessAnalogInputFunction · 0.85
ProcessJoystickFunction · 0.85
Png_ReconstructFunction · 0.85
Png_FilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected