10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 12:00:56 +02:00
quantum_package/ocaml/Units.ml

12 lines
121 B
OCaml
Raw Normal View History

2014-10-07 19:33:11 +02:00
2019-01-14 15:20:51 +01:00
type units =
2014-10-07 19:33:11 +02:00
| Bohr
| Angstrom
;;
let angstrom_to_bohr = 1. /. 0.52917721092
let bohr_to_angstrom = 0.52917721092
;;