Commit 3c4b628
UInt64.CreateSaturating<Int128> truncates instead of saturates (#96369)
* UInt64.CreateSaturating<Int128> truncates instead of saturates
* Update src/libraries/System.Private.CoreLib/src/System/Int128.cs
---------
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>1 parent 7de8f09 commit 3c4b628
File tree
2 files changed
+3
-1
lines changed- src/libraries
- System.Private.CoreLib/src/System
- System.Runtime/tests/System.Runtime.Tests/System
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
1907 | | - | |
| 1907 | + | |
| 1908 | + | |
1908 | 1909 | | |
1909 | 1910 | | |
1910 | 1911 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
| 1649 | + | |
1649 | 1650 | | |
1650 | 1651 | | |
1651 | 1652 | | |
| |||
0 commit comments