about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-08 16:17:48 +0000
committerbors <bors@rust-lang.org>2019-10-08 16:17:48 +0000
commit1dc7f5c0bcac7309bd35acd8a5c3f25a442ef703 (patch)
treeff960cc65a393e07cd145453ab8d1b1c87ff8c67 /src/test/incremental/thinlto
parent5cb983338e924ec85898880d60e65f2a1291b7be (diff)
parent327c91f8c707c1265c4a5b350f736cda4334b764 (diff)
downloadrust-1dc7f5c0bcac7309bd35acd8a5c3f25a442ef703.tar.gz
rust-1dc7f5c0bcac7309bd35acd8a5c3f25a442ef703.zip
Auto merge of #4602 - EthanTheMaster:issue-4001, r=flip1995
Add suggestion for mul_add

Issue #4001: Whenever `a*b+c` is found where `a`,`b`, and `c` are floats, a lint is suggested saying to use `a.mul_add(b, c)`. Using `mul_add` may give a performance boost depending on the target architecture and also has higher numerical accuracy as there is no round off when doing `a*b`.

changelog: New lint: `manual_mul_add`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions