Skip to content

f32, f64 missing from_le, from_be, to_le, to_be, swap_bytes implementation #39742

Closed
@Timmmm

Description

@Timmmm

For all the integer primitives there are functions for converting the endianness: from_le, to_le, from_be, to_be and swap_bytes (they probably should be a trait but they aren't for whatever reason).

The floating point types f32 and f64 don't have these methods defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-acceptedCategory: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions