When to use Fixed Point these days

前端 未结 7 2445
生来不讨喜
生来不讨喜 2021-02-18 13:25

For intense number-crunching i\'m considering using fixed point instead of floating point. Of course it\'ll matter how many bytes the fixed point type is in size, on what CPU i

7条回答
  •  灰色年华
    2021-02-18 14:15

    Another reason to use fixed-point is that ARM devices, like mobile phones and tablets, lack of FPU (at least many of them).

    For developing real-time applications it makes sense to optimize functions using fixed-point arithmetic. There are implementations of FFTs (Fast Fourier Transform), very importan for graphics, that base its improvements on efficiency on relying on floating point arithmetic.

提交回复
热议问题