An open API service indexing awesome lists of open source software.

https://github.com/jdan/ocaml-rationals

Rational numbers in OCaml
https://github.com/jdan/ocaml-rationals

Last synced: 8 months ago
JSON representation

Rational numbers in OCaml

Awesome Lists containing this project

README

          

## ocaml-rationals

A small library for representing rational numbers `p / q` in OCaml.

### running

```
$ ocaml main.ml
5/121 = 1/25 + 1/757 + 1/763309 + 1/873960180913 + 1/1025410058030422033
```