Commit 370327f
committed
Fix integer overflow in AbsoluteValue.getAbsValue for Integer.MIN_VALUE
1 parent c99b056 commit 370327f
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- src
- main/java/com/thealgorithms/maths
- test/java/com/thealgorithms/maths
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
0 commit comments