Commit 51e59a7
committed
safe-math: clarify documentation for __builtin_*_overflow emulation
In the old documentation it was unclear whether to use
`__builtin_*_overflow(res, a, b)` or `__builtin_*_overflow(a, b, res)`.
This should make it clear that it's the latter, which is compatible
with the GCC builtins. The `psnip_safe_*` API remains the same, of
course.1 parent 77654db commit 51e59a7
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments