Man page - sdl_fabsf(3)

Packages contas this manual

Manual

SDL_fabsf(3) SDL3 FUNCTIONS SDL_fabsf(3)

SDL_fabsf - Compute the absolute value of x

Defined in SDL3/SDL_stdinc.h

#include "SDL3/SDL.h"
float SDL_fabsf(float x);

Domain: -INF<=x<=INF Range: 0<=y<=INF This function operates on single-precision floating point values, use

SDL_fabs
for double-precision floats.

floating point value to use as the magnitude.

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_fabs(3)

SDL 3.2.10 Simple Directmedia Layer