Skip to content

Conversation

@tgross35
Copy link
Contributor

to_bits and from_bits are builtin methods on float types. Rename repr to to_bits and from_repr to from_bits so this is consistent with usage that doesn't go through the trait.

`to_bits` and `from_bits` are builtin methods on float types. Rename
`repr` to `to_bits` and `from_repr` to `from_bits` so this is consistent
with usage that doesn't go through the trait.
There is no in-crate use for this yet, but we will make use of it in
`libm`.
@tgross35 tgross35 enabled auto-merge October 25, 2024 19:37
@tgross35 tgross35 merged commit 27d64ee into rust-lang:master Oct 25, 2024
25 checks passed
@tgross35 tgross35 deleted the float-trait-refactor branch October 26, 2024 01:00
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.

1 participant