]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #50572 - frewsxcv:frewsxcv-fma, r=sfackler
authorAlex Crichton <alex@alexcrichton.com>
Thu, 10 May 2018 16:35:29 +0000 (11:35 -0500)
committerGitHub <noreply@github.com>
Thu, 10 May 2018 16:35:29 +0000 (11:35 -0500)
Clarify in the docs that `mul_add` is not always faster.

Fixes https://github.com/rust-lang/rust/issues/49842.

Other resources:

- https://users.rust-lang.org/t/why-does-the-mul-add-method-produce-a-more-accurate-result-with-better-performance/1626
- https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_operation


Trivial merge