Template Function TRAP::Math::ACos(T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::ACos(T x)#

Arc cosine. The range of values returned by this function is [0, PI].

Note

Results are undefined if |x| > 1!

Parameters:

x – Specify the value whose arccosine to return.

Returns:

Angle whose cosine is x.