Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
275: Clarify `mul_add` Docs r=cuviper a=rs017991 There is some great documentation on the `MulAdd` trait itself, but in cases where you only see the method doc (like hovering in an IDE), it's not clear what operation will take place. Sometimes I remember what role each of the three numbers has, and even where the parens are, but either way it breaks my concentration having to drill into the impl to find the trait doc to double-check my assumptions. Short of copy-pasting the excellent `MulAdd` trait doc everywhere, I think that just including the pseudocode describing the operation (as I've done in this PR) will go a long way in clarifying what it does. Co-authored-by: Ryan Scheidter <ryan.scheidter@gmail.com>
- Loading branch information