Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编程语言中的浮点数计算 #793

Open
NeoTse opened this issue Aug 22, 2019 · 0 comments
Open

编程语言中的浮点数计算 #793

NeoTse opened this issue Aug 22, 2019 · 0 comments

Comments

@NeoTse
Copy link

NeoTse commented Aug 22, 2019

https://0.30000000000000004.com/这个网站展示了不同语言(或者版本)中浮点数计算示例,并解释了造成这一现象的原因。

来源于Twitter上BrendanEich回答为什么javascript中0.4 + 0.2 不等于 0.6的提问:
https://twitter.com/ThainBBdL/status/1164505862905487366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant