rustc_middle: ImmTy
's Display
implementation adds a weird-looking suffix to special floating point values.
#118221
Labels
A-floating-point
Area: Floating point numbers and arithmetic
A-pretty
Area: Pretty printing (including `-Z unpretty`)
C-bug
Category: This is a bug.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When printing an
ImmTy
that contains an special floating point value such as infinity or NaN, it will add anf32
orf64
suffix, making it look likeInff32
orNaNf32
, which does not look very pretty.First observed in rust-lang/miri#3185 (comment).
The text was updated successfully, but these errors were encountered: