I create a fixed-point number with the following command
z=fi(-0.002)
and the following information appears
z = -0.0020 DataTypeMode: Fixed-point: binary point scaling Signed: true WordLength: 16 FractionLength: 23 RoundMode: nearest OverflowMode: saturate ProductMode: FullPrecision MaxProductWordLength: 128 SumMode: FullPrecision MaxSumWordLength: 128 CastBeforeSum: true
The WordLength value is 16 bits, however, the FractionLength value seems to be 23 bits. Thus, there is some kind of error.
Best Answer