gpt4 book ai didi

floating-point - 0.1 + 0.7 != 0.8

转载 作者:行者123 更新时间:2023-12-04 06:39:10 26 4
gpt4 key购买 nike

这个问题在这里已经有了答案:




10年前关闭。




Possible Duplicate:
Is JavaScript's Math broken?



为什么在某些编程语言中,title 中的表达式的计算结果为 true?我已经在 php、ruby 和 python 中尝试过。

最佳答案

关于floating-point - 0.1 + 0.7 != 0.8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4571107/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com