고정소수점 연산방식
고정소수점 연산방식은 부호 있는 또는 부호 없는 이진 워드에 대한 연산이 어떻게 수행되는지를 나타냅니다. 덧셈과 뺄셈 같은 간단한 고정소수점 산술 함수를 통해 하드웨어를 경제적으로 구현할 수 있습니다.
도움말 항목
- Fixed-Point Arithmetic
Addition, subtraction, multiplication, casts, modulo, and two’s complement arithmetic.
- Rules for Arithmetic Operations
Rules that the Simulink® software follows when arithmetic operations are performed on inputs and parameters.
- Shifts
Bit-shift operations for integers.
- Conversions and Arithmetic Operations
Example highlighting how the data types are converted and arithmetic operations are performed on inputs and parameters in the Simulink software.
- The Summation Process
Addition of n-bit numbers in the Simulink software.
- The Multiplication Process
Multiplication of n-bit binary numbers with m-bit binary numbers in the Simulink software.
- The Division Process
Integer division for fixed-point data types in the Simulink software.
- fimath Properties Usage for Fixed-Point Arithmetic
Fixed-point arithmetic using
fimath
objects to control the results.