MathF.Sinh(Single) 方法

定义

返回指定角度的双曲正弦值。Returns the hyperbolic sine of the specified angle.

public:
 static float Sinh(float x);
public static float Sinh (float x);
static member Sinh : single -> single
Public Shared Function Sinh (x As Single) As Single

参数

x
Single

以弧度计量的角度。An angle, measured in radians.

返回

Single

x 的双曲正弦值。The hyperbolic sine of x. 如果 x 等于 NegativeInfinityPositiveInfinityNaN,则此方法返回等于 SinglexIf x is equal to NegativeInfinity, PositiveInfinity, or NaN, this method returns a Single equal to x.

注解

角度( x )必须为弧度。The angle, x, must be in radians. 乘以 MathF.PI /180 将度转换为弧度。Multiply by MathF.PI/180 to convert degrees to radians.

此方法调入基础 C 运行时,并且不同的操作系统或体系结构的确切结果或有效输入范围可能不同。This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

适用于