語言

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 被提升為 x

備註

e 是一個數學常數,其值約為2.71828。

用這個 Pow 方法計算其他基數的冪數。

Exp 是的 Log反元。

此方法會呼叫底層的 C 執行時,且不同作業系統或架構間的精確結果或有效輸入範圍可能有所不同。

適用於

另請參閱