module Data.Number.ER.Real.Base
(
module Data.Number.ER.BasicTypes,
ERRealBase(..)
)
where
import Data.Number.ER.BasicTypes
import qualified Data.Number.ER.ExtendedInteger as EI
import Data.Typeable
class (Fractional rb, Ord rb) => ERRealBase rb
where
defaultGranularity :: rb -> Granularity
getApproxBinaryLog :: rb -> EI.ExtendedInteger
getGranularity :: rb -> Granularity
setMinGranularity :: Granularity -> rb -> rb
setGranularity :: Granularity -> rb -> rb
getMaxRounding :: rb -> rb
isERNaN :: rb -> Bool
erNaN :: rb
isPlusInfinity :: rb -> Bool
plusInfinity :: rb
minusInfinity :: rb
minusInfinity = plusInfinity
fromDouble :: Double -> rb
toDouble :: rb -> Double
fromFloat :: Float -> rb
toFloat :: rb -> Float
showDiGrCmp ::
Int ->
Bool ->
Bool ->
rb -> String