I am not aware of any languages with 2-adic number primitives, so created one!
https://github.com/bostick/tuppence/