摘要:
有师妹问浮点数比较的问题,然后有人展示了可以“正常”比较的例子,google了一堆东西如下,有空仔细读一读,整理整理http://bytes.com/topic/c/answers/629184-peculiar-floating-point-numbers-gcchttp://stackoverflow.com/questions/3765200/gcc-handling-float-comparison-differently-at-different-optimization-levelshttp://randomascii.wordpress.com/category/floating 阅读全文
摘要:
阅读全文