Commit 6d35e39
[release/8.0-staging] UInt64.CreateSaturating<Int128> truncates instead of saturates (#97047)
* UInt64.CreateSaturating<Int128> truncates instead of saturates
* Update src/libraries/System.Private.CoreLib/src/System/Int128.cs
---------
Co-authored-by: pedrobsaila <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>1 parent 96b0a55 commit 6d35e39
File tree
2 files changed
+3
-1
lines changed- src/libraries
- System.Private.CoreLib/src/System
- System.Runtime/tests/System
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
1902 | | - | |
| 1902 | + | |
| 1903 | + | |
1903 | 1904 | | |
1904 | 1905 | | |
1905 | 1906 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
| 1645 | + | |
1645 | 1646 | | |
1646 | 1647 | | |
1647 | 1648 | | |
| |||
0 commit comments