Commit fcaad75
committed
fixup! [libc++] Fix sub-overflow in std::gcd implementation
1 parent 1f04c92 commit fcaad75
File tree
2 files changed
+3
-12
lines changed- libcxx
- include/__numeric
- test/std/numerics/numeric.ops/numeric.ops.gcd
2 files changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 30 | + | |
41 | 31 | | |
42 | 32 | | |
43 | 33 | | |
| |||
0 commit comments