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
[Feature Request] Add bin()
builtin function
#2604
Labels
Comments
bgreni
added
enhancement
New feature or request
mojo-repo
Tag all issues with this label
labels
May 10, 2024
modularbot
pushed a commit
that referenced
this issue
May 18, 2024
[External] [stdlib] Add `bin()` builtin function Fixes #2604 Implements the `bin()` builtin function from Python for converting integral values to a binary string representation. Co-authored-by: bgreni <[email protected]> Closes #2603 MODULAR_ORIG_COMMIT_REV_ID: 96515ed124867bcac5a49781d57a92fae6bc480b
msaelices
pushed a commit
to msaelices/mojo
that referenced
this issue
May 18, 2024
[External] [stdlib] Add `bin()` builtin function Fixes modularml#2604 Implements the `bin()` builtin function from Python for converting integral values to a binary string representation. Co-authored-by: bgreni <[email protected]> Closes modularml#2603 MODULAR_ORIG_COMMIT_REV_ID: 96515ed124867bcac5a49781d57a92fae6bc480b
Closed by #2603 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Review Mojo's priorities
What is your request?
Implement the
bin()
builtin function to convert integral values to a binary string representation.What is your motivation for this change?
This is a builtin function included in Python.
https://docs.python.org/3/library/functions.html#bin
Any other details?
No response
The text was updated successfully, but these errors were encountered: