News for hackers. Stuff that matters.
Re:Two's complement unexpectedly shows up in infinite series by kevinventullo on Friday October 21, 2022 @01:35AM (#33284850)
Yep, and that last number is the 2-adic representation of -4/3.

It turns out a lot of ideas from calculus and real analysis carry over to the 2-adics, and this can lead to some interesting computational shortcuts since two’s complement is essentially native 2-adic arithmetic. I’ve blogged a bit about this here: https://kevinventullo.com/

There are no comments on this comment yet.