Small refactoring

This commit is contained in:
Marek Lemańczyk committed 2025-09-21 09:32:01 +02:00
1 parent 412ce4fd50
commit 2c2bc62cb2
3 files changed
+80 -37

No files matched your search

+2 -1
View File
@@ -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)
{