OperatorIntrinsics.SignDynamic<'T> 函式 (F#)
這是程式庫內建。對這個函式的呼叫可以藉由評估引號產生。
**命名空間/模組路徑:**Microsoft.FSharp.Core.Operators.OperatorIntrinsics
組件:FSharp.Core (在 FSharp.Core.dll 中)
// Signature:
SignDynamic : 'T -> int
// Usage:
SignDynamic x
參數
x
型別:'T作業的引數。
傳回值
數字,表示 x 的正負號。如果 x > 0 則為 1,如果 x < 0 則為 -1,否則為 0。
備註
這個函式是由已編譯的 F# 程式碼使用,並不能直接使用。
平台
Windows 8 中, Windows 7, Windows Server 2012 上, Windows Server 2008 R2
版本資訊
F# 核心程式庫版本
支援版本:2.0, 4.0,可移植,可攜式執行檔 (PE)。