#include <80c517.h>
float asin517 (
float x); /* number to calculate arc sine of */
Description
The asin517 function calculates the arc sine 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 asin517 function returns the arc sine of x.
For x ∈ [-1, 1], asin517(x) → [-π/2, π/2]. For x ∈ (-∞, -1) ∪ (1, ∞), asin517(x) → NaN.