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

proposal: math: Go 2: use explicit types for limit constants #426

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

assimon
Copy link
Contributor

@assimon assimon commented Mar 29, 2022

math: MaxInt64 overflows int on ARM,

WX20220329-101458

Refer to this issue:
golang/go#23087

math.MaxInt64 and friends are untyped constants. This causes confusion when using the constants on 32-bit systems.

@dufeixiang
Copy link

牛逼

@codecov
Copy link

codecov bot commented Mar 29, 2022

Codecov Report

Merging #426 (2e17760) into master (f94a65d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #426   +/-   ##
=======================================
  Coverage   73.49%   73.49%           
=======================================
  Files          24       24           
  Lines        3150     3150           
=======================================
  Hits         2315     2315           
  Misses        586      586           
  Partials      249      249           
Impacted Files Coverage Δ
internal/rdb/rdb.go 73.19% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@hibiken
Copy link
Owner

hibiken commented Mar 29, 2022

Thank you @assimon!!

@hibiken hibiken merged commit 3f4f0c1 into hibiken:master Mar 29, 2022
@assimon
Copy link
Contributor Author

assimon commented Mar 29, 2022

@hibiken Pleasure, looking forward to the merger soon, great project!🎉

@ShaoZeMing
Copy link

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

Successfully merging this pull request may close these issues.

4 participants