#include <80c517.h>
float acos517 (
float x); /* number to calculate arc cosine of */
Description
The acos517 function calculates the arc cosine of the floating-point number x.
Note
This routine uses the arithmetic unit of the Infineon C517x/C509 to provide accelerated execution speed. Do not use this routine with a CPU that does not support this feature.
Return Value
The acos517 function returns the arc cosine of x.
For x ∈ [-1, 1], acos517(x) → [0, π]. For x ∈ (-∞, -1) ∪ (1, ∞), acos517(x) → NaN.