nn::math::AcosRad Function

Syntax

NN_MATH_INLINE f32 AcosRad(
     f32 x
);

Parameters

Name Description
in x Value whose inverse cosine (arccosine) you wish to find.

Return Values

Returns the inverse cosine of x in radians.

Description

Finds the value of the inverse cosine (arccosine). In contrast with NN_Acos, a warning is displayed depending on the arguments that are used.

The warning is displayed if the absolute value of the argument is greater than 1.

This function uses the standard acos function.

Revision History

2012/06/26
Added a note about the warning message.
2011/08/26
Added text about internal implementation.
2010/01/07
Initial version.

CONFIDENTIAL