Compute the absolute value of x.
x
Defined in <SDL3/SDL_stdinc.h>
int SDL_abs(int x);
(int) Returns the absolute value of x.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.
CategoryAPI, CategoryAPIFunction, CategoryStdinc