Cuneiform law
Cuneiform law refers to any of the legal codes written in cuneiform script, that were developed and used throughout the ancient Middle East among the Sumerians, Babylonians, Assyrians, Elamites, Hurrians, Kassites, and Hittites. The Code of Hammurabi is the most well-known of the cuneiform laws, but there were a number of precursor laws.
Sexagesimal
Apart from mathematical tables, the inconsistencies in how numbers were represented within most texts extended all the way down to the most basic Cuneiform symbols used to represent numeric quantities. For example, the Cuneiform symbol for 1 was an ellipse made by applying the rounded end of the stylus at an angle to the clay, while the sexagesimal symbol for 60 was a larger oval or "big 1". But within the same texts in which these symbols were used, the number 10 was represented as a circle made by applying the round end of the style perpendicular to the clay, and a larger circle or "big 10" was used to represent 100. Such multi-base numeric quantity symbols could be mixed with each other and with abbreviations, even within a single number. The details and even the magnitudes implied (since zero was not used consistently) were idiomatic to the particular time periods, cultures, and quantities or concepts being represented. While such context-dependent representations of numeric quantities are easy to critique in retrospect, in modern time we still have "dozens" of regularly used examples (some quite "gross") of topic-dependent base mixing, including the particularly ironic recent innovation of adding decimal fractions to sexagesimal astronomical coordinates.