AcosIdx

nn::math::AcosIdx Function

Syntax

NN_MATH_INLINE u16 AcosIdx(
     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 angle units for which one complete revolution is defined as equal to 65536 units.

Description

Finds the value of the inverse cosine (arccosine).

This function uses the standard acos function.

Revision History

2011/08/26
Added text about internal implementation.
2010/01/07
Initial version.

CONFIDENTIAL