Basewelves
Basewelves is a numerical system that uses a base-12 (duodecimal) counting system as its foundation, combined with additional symbols to represent fractions and negative numbers. It was introduced by mathematician and computer scientist Donald Knuth in the 1970s as part of his *Literate Programming* methodology, specifically in the *Web* system, which he later renamed *Literate Programming*. The term "basewelves" is a playful contraction of "base twelve" and "elves," referencing the fictional elves in J.R.R. Tolkien’s *Lord of the Rings*, who were said to use a base-20 system in some interpretations.
In basewelves, the digits 0 through 9 are used as in the decimal system, while the digits
Basewelves also includes a mechanism for representing negative numbers using a prefix of a tilde (~) or
While basewelves is not widely adopted in mainstream computing, it remains a theoretical and educational tool,