Would be fun to define objects for doing mod mathmatics. I see it kind of like this:
ModInt x = new ModInt(5, 26)
ModInt y =x + 27
Console.WriteLine(y) // prints 7
Basically overloads all the operators and has explicit casts so that mod math works. It's like having a new primative that works in mod space
Would be fun to define objects for doing mod mathmatics. I see it kind of like this:
Basically overloads all the operators and has explicit casts so that mod math works. It's like having a new primative that works in mod space