Close

PEAC modulo

A project log for PEAC Pisano with End-Around Carry algorithm

Add X to Y and Y to X, says the song. And carry on.

yann-guidon-ygdesYann Guidon / YGDES 11/05/2024 at 13:430 Comments

The log 122. Funky modulo has some funny/funky/hackmemesque observations for lower-level implementations, but what about the higher level ?

It only occured to me today, thinking about gPEAC, that the wraparound of the sum S goes like

S' = (S / m) + (S % m)

Not sure how it's going to help with analysing the large-scale behaviour though, it's above my pay grade.

Discussions