MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_abs

Function SDL_abs

deps/SDL2/src/stdlib/SDL_stdlib.c:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429int SDL_abs(int x)
430{
431#if defined(HAVE_ABS)
432 return abs(x);
433#else
434 return ((x) < 0 ? -(x) : (x));
435#endif
436}
437
438#if defined(HAVE_CTYPE_H)
439int SDL_isdigit(int x) { return isdigit(x); }

Callers 6

WatchJoystickFunction · 0.85
SDL_SYS_ToDIEFFECTFunction · 0.85
SDL_SYS_ToFFEFFECTFunction · 0.85
StartDrawToBitmapFunction · 0.85
SDL_PrivateJoystickAxisFunction · 0.85

Calls 1

absFunction · 0.50

Tested by 1

WatchJoystickFunction · 0.68