Do-s and Don't-s for floating point arithmetic?

后端 未结 7 1914
臣服心动
臣服心动 2021-02-13 16:32

What are some good do-s and don\'t-s for floating point arithmetic (IEEE754 in case there\'s confusion) to ensure good numerical stability and high accuracy in your results?

7条回答
  •  温柔的废话
    2021-02-13 16:54

    DO remember that because of faulty floating point arithmetic people died and billion dollars of damages occured.

提交回复
热议问题