asin、asinf、asinl | 您所在的位置:网站首页 › 反正弦公式推导 › asin、asinf、asinl |
asin, asinf, asinl
项目
06/16/2023
计算反正弦值。 语法 double asin( double x ); float asinf ( float x ); long double asinl( long double x ); #define asin(X) // Requires C11 or higher float asin( float x ); // C++ only long double asin( long double x ); // C++ only 参数x 要计算反正弦值的值。 返回值asin 函数返回 -π/2到 π/2 弧度范围内的 x 的反正弦值(反正弦函数)。 默认情况下,如果 x 小于 -1 或大于 1,asin 将返回无穷大。 输入 SEH 异常 _matherr 异常 ± INF INVALID _DOMAIN ± QNaN,IND 无 _DOMAIN |x| > 1 INVALID _DOMAIN 注解由于 C++ 允许重载,因此你可以调用采用 float 和 long double 值的 asin 重载。 在 C 程序中,除非你使用 宏来调用此函数,否则 asin 始终采用并返回 double。 如果使用 中的 asin宏,则参数的类型将确定所选函数的版本。 有关详细信息,请参阅泛型类型数学。 默认情况下,此函数的全局状态范围限定为应用程序。 若要更改此行为,请参阅 CRT 中的全局状态。 要求 例程所返回的值 必需的标头 (C) 必需的标头 (C++) asin, asinf, asinl 或 asin 宏 示例有关详细信息,请参阅 acos、acosf、acosl。 另请参阅数学和浮点支持 acos, acosf, acosl atan, atanf, atanl, atan2, atan2f, atan2l cos, cosf, cosl _matherr sin, sinf, sinl tan, tanf, tanl |
CopyRight 2018-2019 实验室设备网 版权所有 |