| SDL_fabs(3) | SDL3 FUNCTIONS | SDL_fabs(3) |
SDL_fabs - Compute the absolute value of x
Defined in SDL3/SDL_stdinc.h
#include "SDL3/SDL.h"
double SDL_fabs(double x);
Domain: -INF<=x<=INF Range: 0<=y<=INF This function operates on double-precision floating point values, use
SDL_fabsf
for single-precision floats.
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.
•(3), SDL_fabsf(3)
| SDL 3.2.10 | Simple Directmedia Layer |