You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change normalize to use floor and ceil formula
Change normalize function to use floor and ceil based formula without loops. This is faster than using modulo operator and as fast as the existing while loop based solution. No slowdown for large numbers unlike while loop based solution.
Closes#46
Faster than using mod and as fast as while. No slowdown for large numbers. Putting it here so I don't forget.
The text was updated successfully, but these errors were encountered: