]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #89502 - FabianWolff:issue-89493, r=joshtriplett
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 5 Oct 2021 19:52:46 +0000 (12:52 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Oct 2021 19:52:46 +0000 (12:52 -0700)
commit4e8c853c9e419d70c3017683816af41db2f7a580
tree955c7df62ad5c8385b9798b7e758d1099dd6f1a4
parent80f1f0d1690344b402762a76205c11fd08d9b593
parent199b33f0d77c3fae1c2c982029df7168899f8aba
Rollup merge of #89502 - FabianWolff:issue-89493, r=joshtriplett

Fix Lower/UpperExp formatting for integers and precision zero

Fixes the integer part of #89493 (I daren't touch the floating-point formatting code). The issue is that the "subtracted" precision essentially behaves like extra trailing zeros, but this is not currently reflected in the code properly.