MesoCalc is a **Mesopotamian calculator**. It
computes with integers in **sexagesimal place-value
notation** and operates on measures.

MesoCalc was created in March 2013
by Baptiste MÉLÈS
(CNRS, Archives Henri Poincaré, Université de Lorraine) with
the scientific assistance of **Christine PROUST**
(CNRS, Université Paris-Diderot) in the framework of
the SAW Project
(Mathematical Sciences in the Ancient World), headed
by **Karine CHEMLA** (CNRS, Université
Paris-Diderot). MesoCalc also includes computations made
by **Mathieu OSSENDRIJVER**
(Humboldt-Universität), with his benevolent acceptance.

- Introduction
- Arithmetics
- Conversion and arithmetical properties: conversions between decimal and sexagesimal numbers, regularity test, regular approximations, list of regular numbers, prime factors, greatest common divisor;
- Multiplicative operations: multiplication, quotient, reciprocals, tables...
- Exponential operations: square, square root, cube, cube root, geometric progression, tables...
- Additive operations: addition, subtraction;

- Measures
- Lengths, surfaces, volumes, capacities and weights: addition, subtraction, multiplication.

- About MesoCalc

The numbers if the calculator below may belong to different kinds:

Code | Numerical system | Examples |
---|---|---|

10A | Decimal place-value notation | 7200 |

60A/F | Sexagesimal place-value notation | 2.0.0 or 2 |

60A | Absolute sexagesimal place-value notation | 2.0.0 |

60F | Floating sexagesimal place-value notation | 2 |

60R | Regular number in 60F | 2 |

Units of length:

danna | ← 30 ← | uš | ← 60 ← | ninda | ← 12 ← | kuš | ← 30 ← | šusi |

11 km | 360 m | 6 m | 50 cm | 17 mm |

Units of surface:

gan |
← 100 ← | sar |
← 60 ← | gin |
← 180 ← | še |

3600 m² | 36 m² | 0.6 m² | 33 cm² | |||

1 ninda × 1 ninda |

Units of volume:

gan |
← 100 ← | sar |
← 60 ← | gin |
← 180 ← | še |

1800 m³ | 18 m³ | 300 dm³ | 1.7 dm³ | |||

1 (surface-)sar × 1 kuš |

Units of capacity:

gur |
← 5 ← | bariga |
← 6 ← | ban |
← 10 ← | sila |
← 60 ← | gin |
← 180 ← | še |

300 L | 60 L | 10 L | 1 L | 17 mL | 0.1 mL |

Units of weight:

gu |
← 60 ← | mana |
← 60 ← | gin |
← 180 ← | še |

30 kg | 500 g | 8 g | 0.05 g |

System G:

šar-gal |
← 6 ← | šar'u |
← 10 ← | šar |
← 6 ← | bur'u |
← 10 ← | bur |
← 3 ← | eše |
← 6 ← | iku |

64800 | 10800 | 1080 | 180 | 18 | 6 | 1 |

System S:

šar-gal |
← 6 ← | šar'u |
← 10 ← | šar |
← 6 ← | gešu |
← 10 ← | geš |
← 6 ← | u |
← 10 ← | diš |

216000 | 36000 | 3600 | 600 | 60 | 10 | 1 |

Yes, you can! To download MesoCalc and use it offline on your computer or smartphone,

- either right-click on the present link and select "Save As";
- or select "File > Save As" in your web browser while it is displaying the present page.

Yes, you can! MesoCalc is a free software. You can read the source code of the present web page. You can even modify the source code and then redistribute your own modifications under the terms of the GNU General Public License (see the license below).

If you want to see the HTML, CSS and JavaScript source code of this program, you will have to find on option like "View > Page Source" or "Tools > Source Code" in your web browser while displaying the present web page.

Yes, it is. Archiving software is crucial because programmers are not aware that this part of scientific culture disappears more easily than clay tablets. The programs and source codes of the first decades of computer science are already lost at the beginning of the XXIth century.

This is the reason why MesoCalc'c source code is archived. You can find its successive versions (since 2016) on https://github.com/BapMel/mesocalc.

Yes, very frequently! Month after month, MesoCalc gets new features and new bug corrections. In case you downloaded MesoCalc to use it offline, make sure that you have the newest version.

Last modifications:

**7th May 2016:**metric approximation of measuring units (metres, litres, etc.). Bug correction in system G (1 šar-gal = 64800, not 34800). Cleaning of the HTML code. "Clear" buttons for all operations on measuring units. Verification of the XHTML 1.0 Strict validity :**15th January 2016:**two new features. 1) Regular approximation of a number; 2) a new algorithm to list regular numbers, made possible by Mathieu Ossendrijver's huge database of regular numbers.**16th September 2015:**bug correction in measurement units. Now, input numbers can be either decimal or sexagesimal (until recently, only sexagesimal numbers were accepted).

MesoCalc: a Mesopotamian calculator.

Copyright (C) Baptiste MÉLÈS 2013.

Latest version: 7th May 2016.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

If you see bugs or want new features, please contact Baptiste Mélès. All comments and suggestions are welcome!