固定小数点演算子の置換
コード置換ツールまたはプログラミング インターフェイスを使用して、左シフト演算や各種スケーリング (2 進小数点や正味勾配など) を含む固定小数点演算のコード置換マッピングを定義します。
ツール
コード置換ツール | コード置換ライブラリの内容の作成、変更、および検証 |
コード置換ビューアー | コード置換ライブラリの内容の調査 |
関数
トピック
- Fixed-Point Operator Code Replacement
Define code replacement mappings for fixed-point operators.
- Binary-Point-Only Scaling Code Replacement
Define code replacement mappings for operations on fixed-point data types so that they match a binary-point-only scaling combination on operator inputs and output.
- Slope Bias Scaling Code Replacement
Define code replacement mappings for operations on fixed-point data types as matching a slope bias scaling combination on the operator inputs and output.
- Net Slope Scaling Code Replacement
Define a code replacement mapping for operations on fixed-point data types as matching net slope between operator inputs and output.
- Equal Slope and Zero Net Bias Code Replacement
Define code replacement mappings for addition and subtraction of fixed-point data types so that they match relative slope and bias values (equal slope and zero net bias) across operator inputs and output.
- Data Type Conversions (Casts) and Operator Code Replacement
Define code replacement mappings for code that the code generator produces for data type conversion (cast) operations.
- Shift Left Operations and Code Replacement
Define code replacement mappings for code that the code generator produces for shift (<<) operations.