]> git.lizzy.rs Git - rust.git/commit
Auto merge of #13161 - ChayimFriedman2:pi-is-zero, r=jonas-schievink
authorbors <bors@rust-lang.org>
Thu, 1 Sep 2022 20:51:22 +0000 (20:51 +0000)
committerbors <bors@rust-lang.org>
Thu, 1 Sep 2022 20:51:22 +0000 (20:51 +0000)
commitf23114c854d39d7b5a118208a0df0758e6c453a5
tree3473a009bfd1f6739cbc8809c4e53348e117fed2
parentc4445e415a74bc4e11c9dd7285358386afe9304a
parent2eec4ed69d46ec74a9ee29033e9431edd342e048
Auto merge of #13161 - ChayimFriedman2:pi-is-zero, r=jonas-schievink

fix: Lower float literals with underscores

Fixes #13155 (the problem was the `PI` is defined with `_f64` suffix). `PI` is still truncated, though, because `f64` cannot represent the value with full precision.