]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #77027 - termhn:mul_add_doc_change, r=m-ou-se
authorTyler Mandry <tmandry@gmail.com>
Fri, 11 Dec 2020 05:32:59 +0000 (21:32 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Dec 2020 05:32:59 +0000 (21:32 -0800)
commit1b4ffe4705c98c490b76eb5631607a10280eacfe
tree4bcc47c23999fae76479bad5129f6a6dfde44e69
parent0c9ef564a7688dd4a9047342c7f8395aea909333
parenta6d98d8ec918c7aa2b0712f1ff2c9b1db5924275
Rollup merge of #77027 - termhn:mul_add_doc_change, r=m-ou-se

Improve documentation for `std::{f32,f64}::mul_add`

Makes it more clear that performance improvement is not guaranteed when using FMA, even when the target architecture supports it natively.
library/std/src/f32.rs
library/std/src/f64.rs