Why is builtin abs function faster than mine?

前端 未结 0 1377
独厮守ぢ
独厮守ぢ 2021-02-03 15:39

I wanted to try making my own absolute value function. I figured that the fastest way to calculate absolute value would be to simply mask out the sign bit (the last bit in IEEE

相关标签:
回答
  • 消灭零回复
提交回复
热议问题