Decimal the Roman numerals did, an intermediate base of 5. Notably, the polymath Archimedes (ca. 287–212 BC) invented a decimal positional system in his Sand Reckoner which was based on 10 and later led the German mathematician Carl Friedrich Gauss to lament what heights science would have already reached in his days if Archimedes had fully realized the potential of his ingenious discovery. The Hittites hieroglyphs (since 15th century BC), just like the Egyptian and early numerals in Greece, was strictly decimal. Some non-mathematical ancient texts like the Vedas dating back to 1900–1700 BCE make use of decimals and mathematical decimal
Densely packed decimal ignored when decoding DPD groups with three large digits (marked as "x" in the last row of the table above), but are filled with zeros when encoding. The eight decimal values whose digits are all 8s or 9s have four codings each. The bits marked x in the table above are ignored on input, but will always be 0 in computed results. This table shows some representative decimal numbers and their encodings in BCD, Chen–Ho, and densely packed decimal (DPD): Densely packed decimal Densely packed decimal (DPD) is an efficient method for binary encoding decimal digits. The traditional system of