MathF.Exp(Single) 方法

定义

返回 e 的指定次幂。

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

参数

x
Single

要引发 e 到的数字。

返回

e 提升到权力 x

注解

e 是一个数学常量,其值为大约 2.71828。

使用该方法 Pow 计算其他基数的幂。

Exp是反函数。Log

此方法调用基础 C 运行时,确切的结果或有效输入范围在不同操作系统或体系结构之间可能有所不同。

适用于

另请参阅