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