[][src]Function directx_math::XMScalarACosEst

pub fn XMScalarACosEst(Value: f32) -> f32

Estimates the arccosine of a floating-point number.

Parameters

Value float value between -1.0 and 1.0.

Return value

Returns the inverse cosine of Value.

Remarks

Est functions offer increased performance at the expense of reduced accuracy. Est functions are appropriate for non-critical calculations where accuracy can be sacrificed for speed. The exact amount of lost accuracy and speed increase are platform dependent.

This function uses a 3-degree minimax approximation.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMScalarACosEst