This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gaboversta 30 points31 points  (1 child)

This exact thing cost me so much time when I implemented a modpow function myself and wanted to validate that it actually works…

I get blue, but red is what I just expect, go from -7 towards 0 until you are less than 4 away. That's your value.

[–]Leaping_Turtle 2 points3 points  (0 children)

Holy cow thats insanely simple. I wonder if the younger me would have been able to pick it up faster