When to use Fixed Point these days

前端 未结 7 2466
生来不讨喜
生来不讨喜 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:21

    It's still worth it. Floating point is faster than in the past, but fixed-point is also. And fixed is still the only way to go if you care about precision beyond that guaranteed by IEEE 754.

提交回复
热议问题