Estimates the cosine of a radian angle.
float XMScalarCosEst(
float Value
)
Value
Type: floatĀ
float value describing the radian angle.
Type: floatĀ
Returns the cosine of Value.
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 6-degree minimax approximation.
Header: Declared in directxmath.h.