Skip to content

Commit 5a26e6c

Browse files
authored
Add a note on new msub semantics (#106)
1 parent b64c501 commit 5a26e6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ This release has an [MSRV][] of 1.86.
4242
- Breaking: `a.madd(b, c)` and `a.msub(b, c)` now correspond to `a *
4343
b + c` and `a * b - c` for consistency with `mul_add` in
4444
std. ([#88][] by [@Ralith][])
45+
Previously, `madd` was `a + b * c`, and `msub` was `a - b * c`.
46+
Therefore, if you previously had `a.madd(b, c)`, that's now written as `b.madd(c, a)`.
47+
And if you had `a.msub(b, c)`, that's now written `b.madd(-c, a)`.
4548
- Constructors for static SIMD levels are now `const` ([#93][] by [@Ralith][])
4649

4750
## [0.2.0][] (2025-08-26)

0 commit comments

Comments
 (0)