asinf函数
概要:
#include <math.h> float asinf(float );
描述:
该函数计算参数的反正弦值。
如果参数不在区间[-1,+1]内,将发生域错误。如果参数为非0值且非常接近0,会发生范围错误。
参数:
float
参数为float类型的浮点数,取值范围为-1≤≤1。
返回值:
函数返回参数的反正弦值,返回值为区间[-/2,+/2]内的弧度值。
范例:
|
|
输出:
The arc sine of 1.00 is 90 degrees.
相关内容:
| asin | double类型的反正弦函数。 |
| asinl | long double类型的反正弦函数。 |
| asind32 | _Decimal32类型的反正弦函数。 |
| asind64 | _Decimal64类型的反正弦函数。 |
| asind128 | _Decimal128类型的反正弦函数。 |
主要参考资料: