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
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). Wiki powered by ghwikipp.