Small refactoring
This commit is contained in:
1 parent
412ce4fd50
commit
2c2bc62cb2
3 files changed
+80
-37
No files matched your search
@@ -224,7 +224,7 @@ public static class UInt128Extensions
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static ulong Mod8(this UInt128 value) => (ulong)value & 7UL;
|
||||
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static ulong Mod3(this UInt128 value)
|
||||
{
|
||||
@@ -241,6 +241,7 @@ public static class UInt128Extensions
|
||||
return rem >= 5UL ? rem - 5UL : rem;
|
||||
}
|
||||
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static UInt128 Mul64(this UInt128 a, UInt128 b)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user