----------------------------------------------------------------------------- -- | -- Module : Data.Constants.Math -- Copyright : (C) 2014 Richard Eisenberg -- License : BSD-style (see LICENSE) -- Maintainer : Richard Eisenberg (rae@cs.brynmawr.edu) -- Stability : experimental -- Portability : non-portable -- -- Approximates mathematical constants as 'Rational's ----------------------------------------------------------------------------- module Data.Constants.Math where piR :: Rational piR :: Rational piR = Rational 3.1415926535897932384626433832795028841971693993751058209749445923078164 eR :: Rational eR :: Rational eR = Rational 2.71828182845904523536028747135266249775724709369995957496696762772407663