Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
429
int 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)
439
int SDL_isdigit(int x) { return isdigit(x); }
Callers
6
WatchJoystick
Function · 0.85
SDL_SYS_ToDIEFFECT
Function · 0.85
SDL_SYS_ToFFEFFECT
Function · 0.85
SDL_PrivateSendMouseButton
Function · 0.85
StartDrawToBitmap
Function · 0.85
SDL_PrivateJoystickAxis
Function · 0.85
Calls
1
abs
Function · 0.50
Tested by
1
WatchJoystick
Function · 0.68