Skip to content

Add f16 and f128 to tests/ui/consts/const-float-bits-conv.rs #129163

Closed
@tgross35

Description

@tgross35

This file is only f32 and f64: https://github.com/rust-lang/rust/blob/a73bc4a131d94eba633c4c572a28e0bf94a67530/tests/ui/consts/const-float-bits-conv.rs, but we should add the other float types to this test.

The change should wait for #128598 since that changes some of these semantics (this PR is almost merged).

There are probably a handful of tests that only check f32 and f64 but could use updates with the new types.

Metadata

Metadata

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.F-f16_and_f128`#![feature(f16)]`, `#![feature(f128)]`

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions