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.1.3.
CategoryAPI, CategoryAPIFunction, CategoryStdinc
[ front page | index | search | recent changes | git repo | offline html ]
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). Wiki powered by ghwikipp.