Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature Request][Move Language] MAX constants for builtin numbers #15691

Open
wrwg opened this issue Jan 9, 2025 · 0 comments
Open

[Feature Request][Move Language] MAX constants for builtin numbers #15691

wrwg opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@wrwg
Copy link
Contributor

wrwg commented Jan 9, 2025

For example, u64::MAX. Currently one finds code like

  const U256_MAX: u256 =
        115792089237316195423570985008687907853269984665640564039457584007913129639935;

This should not be needed.

@wrwg wrwg added the enhancement New feature or request label Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant