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

[stdlib] Consolidate bin and hex internal implementation #2790

Closed
wants to merge 1 commit into from

Conversation

bgreni
Copy link
Contributor

@bgreni bgreni commented May 22, 2024

Fixes #2730

  • Utilize _format_int for for both bin and hex
  • Support SIMD and Indexer types for hex
  • Move implementations into format_int module

@rparolin
Copy link
Collaborator

!sync

@modularbot modularbot added the imported-internally Signals that a given pull request has been imported internally. label May 27, 2024
Signed-off-by: Brian Grenier <grenierb96@gmail.com>
@modularbot
Copy link
Collaborator

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

@modularbot modularbot added the merged-internally Indicates that this pull request has been merged internally label May 31, 2024
modularbot pushed a commit that referenced this pull request May 31, 2024
…#40690)

[External] [stdlib] Consolidate bin and hex internal implementation

Fixes #2730

- Utilize `_format_int` for for both `bin` and `hex`
- Support `SIMD` and `Indexer` types for `hex`
- Move implementations into `format_int` module

---------

Co-authored-by: bgreni <42788181+bgreni@users.noreply.github.com>
Co-authored-by: Rob Parolin <rparolin@modular.com>
Closes #2790
MODULAR_ORIG_COMMIT_REV_ID: 0d5c716cb884468c8d3d49ac585115c39f131880
@modularbot modularbot added the merged-externally Merged externally in public mojo repo label May 31, 2024
@modularbot
Copy link
Collaborator

Landed in 2729b02! Thank you for your contribution 🎉

@modularbot modularbot closed this May 31, 2024
modularbot pushed a commit that referenced this pull request Jun 7, 2024
…#40690)

[External] [stdlib] Consolidate bin and hex internal implementation

Fixes #2730

- Utilize `_format_int` for for both `bin` and `hex`
- Support `SIMD` and `Indexer` types for `hex`
- Move implementations into `format_int` module

---------

Co-authored-by: bgreni <42788181+bgreni@users.noreply.github.com>
Co-authored-by: Rob Parolin <rparolin@modular.com>
Closes #2790
MODULAR_ORIG_COMMIT_REV_ID: 0d5c716cb884468c8d3d49ac585115c39f131880
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported-internally Signals that a given pull request has been imported internally. merged-externally Merged externally in public mojo repo merged-internally Indicates that this pull request has been merged internally
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants