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

.1+.1.+1 = 0.30000000000000004 #134

Open
SMSourov opened this issue Oct 23, 2024 · 1 comment
Open

.1+.1.+1 = 0.30000000000000004 #134

SMSourov opened this issue Oct 23, 2024 · 1 comment

Comments

@SMSourov
Copy link

Screenshot_20241023-112315.jpg

@rajput-hemant
Copy link
Owner

this is an expected behavior, machines encounter difficulties working with floating-point numbers due to the limitations of the binary format
For further information, please refer to the following video: https://youtu.be/PZRI1IfStY0
the only potential enhancement to the application i can think of is to update the precision digits, however the current behavior is also correct

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