4 ms·
See e.g. Haskell's Data.Ratio (http://haskell.org/ghc/docs/6.12.1/html/libraries/base-4.2.0.0/Data-Ratio.html http://haskell.org/ghc/docs/6.12.1/html/libraries/
by eru 16y ago
See e.g. Haskell's Data.Ratio (http://haskell.org/ghc/docs/6.12.1/html/libraries/base-4.2.0.0/Data-Ratio.html http://haskell.org/ghc/docs/6.12.1/html/libraries/base-4.2.0...) module for rational numbers.