c++浮点数比较问题

C/C++中非常重要的原则: The important rule to remember is that powers of two and integer multiples thereof can be perfectly represented. everything else is an approximation. 除了可以表示为2的幂次以及整数数乘的浮点数可以准确表示外,其余的数的值
相关文章
相关标签/搜索