Scroll to navigation

SDL_acos(3) SDL3 FUNCTIONS SDL_acos(3)

NAME

SDL_acos - Use this function to compute arc cosine of x .

SYNOPSIS

#include "SDL3/SDL.h"
double SDL_acos(double x);

DESCRIPTION

The definition of y=acos(x) is x=cos(y) .

Domain: -1<=x<=1 Range: 0<=y<=Pi

FUNCTION PARAMETERS

floating point value, in radians.

RETURN VALUE

Returns arc cosine of x .

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.1.0 SDL