-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.
Description
According to the documentation of mul_add
:
This produces a more accurate result with better performance than a separate multiplication operation followed by an add.
This seems not to be true in general. On my machine, a.mul_add(b, c)
is slower than a * b + c
when compiling without target-cpu=native
.
pitdicker
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.Category: This is a bug.