avoid rounding error (floating specifically) c++

前端 未结 6 1548
耶瑟儿~
耶瑟儿~ 2021-02-04 12:54

http://www.learncpp.com/cpp-tutorial/25-floating-point-numbers/ I have been about this lately to review C++.

In general computing class professors tend not to cover thes

6条回答
  •  独厮守ぢ
    2021-02-04 13:37

    The canonical advice for this topic is to read "What Every Computer Scientist Should Know About Floating-Point Arithmetic", by David Goldberg.

提交回复
热议问题