numeric-prelude-0.4: An experimental alternative hierarchy of numeric type classes
Algebra.FloatingPoint
Synopsis
class C a => C a whereSource
Counterpart of RealFloat but with NumericPrelude superclass.
RealFloat
Methods
radix :: a -> IntegerSource
digits :: a -> IntSource
range :: a -> (Int, Int)Source
decode :: a -> (Integer, Int)Source
encode :: Integer -> Int -> aSource
exponent :: a -> IntSource
significand :: a -> aSource
scale :: Int -> a -> aSource
isNaN :: a -> BoolSource
isInfinite :: a -> BoolSource
isDenormalized :: a -> BoolSource
isNegativeZero :: a -> BoolSource
isIEEE :: a -> BoolSource
Instances