diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-26 23:45:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 23:45:18 +0100 |
| commit | faf2b7f45593112cdb000783663624ba071a74d4 (patch) | |
| tree | bcd605b173d3a287579f82b39e4a593334345e00 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 (diff) | |
| parent | e0bcf771d6e670988a3d4fdc785ecd5857916f10 (diff) | |
| download | rust-faf2b7f45593112cdb000783663624ba071a74d4.tar.gz rust-faf2b7f45593112cdb000783663624ba071a74d4.zip | |
Rollup merge of #90247 - newpavlov:duration_float_fract, r=nagisa
Improve Duration::try_from_secs_f32/64 accuracy by directly processing exponent and mantissa Closes: #90225 The methods now implement direct processing of exponent and mantissa, which should result in the best possible conversion accuracy (modulo truncation, i.e. float value of 19.995 ns will be represented as 19 ns).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
