News for hackers. Stuff that matters.
Re:Two's complement unexpectedly shows up in infinite series by boonsuan on Friday October 21, 2022 @02:34AM (#33285170)
check out https://zjkmxy.github.io/posts/2021/11/twos-complement-2-adi... for a discussion of some relevant mathematics; cool stuff

there is also a lot of good stuff concerning such computational tricks and their relation with 2-adics in section 7.1.3 (Bitwise Tricks and Techniques) of volume 4A of The Art of Computer Programming: https://www-cs-faculty.stanford.edu/~knuth/fasc1a.ps.gz

There are no comments on this comment yet.