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

c01/c01_03 #67

Open
utterances-bot opened this issue May 24, 2024 · 1 comment
Open

c01/c01_03 #67

utterances-bot opened this issue May 24, 2024 · 1 comment

Comments

@utterances-bot
Copy link

1.3 数据类型:整型与浮点型 — Go编程时光 1.0.0 documentation

https://golang.iswbm.com/c01/c01_03.html

Copy link

由于精度的问题,就会出现这种很怪异的现象,myfloat == myfloat +1 会返回 true 。

这句话写错了吧?应该返回false

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

2 participants