Skip to content

RFC: Removing `float' #6592

Closed
Closed
@auroranockert

Description

@auroranockert

float and f64 are not currently the same type in Rust.

We discussed it on IRC and couldn't think of a good reason to have them separated, and some reasons to have only one type (with a possible typedef to keep both names).

The pros of mergeing the types include

  • Less casting
  • Makes the precision of float explicit

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions