MathF.Exp(Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 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 方法計算其他基數的冪數。
此方法會呼叫底層的 C 執行時,且不同作業系統或架構間的精確結果或有效輸入範圍可能有所不同。