-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix bug with float32 and float64 overflowing integers #18
Conversation
ccoVeille
commented
Sep 7, 2024
•
edited
Loading
edited
- fix: float overflow when converted to integer Fixes #14 introduced a bug with float overflow #23
- chore: add new types
- chore: split conversion into multiple files
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 2 +1
Lines 60 90 +30
=========================================
+ Hits 60 90 +30 ☔ View full report in Codecov by Sentry. |
I see you added a 👍 is there something missing in term of setting that prevent you to approve via the GitHub feature made for that ? |
e05207d
to
a4b2e46
Compare
The scope of this PR has been totally revamped, this PR is now only about fixing the bug with floats possibly overflowing integers The PR was containing changes about having error messages, it will be addressed in another PR (here is the commit for reference e374726) |
isn't that "feat" (though personally I don't use these abbreviations) |
I'm not adding new type in that commit, I'm somehow renaming it. I hate conventional commit, but I see a lot of it on GitHub, so I was somehow poisoned. When I'm on GitHub, I use it |
zero code changes
We may add the following type later: - uintptr - string - bool
b72ed32
to
1ac7b33
Compare
Only uint64 and uint was working as expected Fixes #23