rounding-0.3.0: Explicit floating point rounding mode wrappers

Numeric.Rounding

Documentation

newtype Round dir a Source

Constructors

Round a 

Instances

Functor (Round dir) 
Foldable (Round dir) 
Traversable (Round dir) 
Bounded a => Bounded (Round dir a) 
(Rounding d, Precision a) => Enum (Round d a) 
Eq a => Eq (Round dir a) 
(Rounding d, Precision a) => Floating (Round d a) 
(Rounding d, Precision a) => Fractional (Round d a) 
(Rounding d, Precision a) => Num (Round d a) 
Ord a => Ord (Round dir a) 
Read a => Read (Round dir a) 
(Rounding d, Precision a) => Real (Round d a) 
(Rounding d, Precision a) => RealFloat (Round d a) 
(Rounding d, Precision a) => RealFrac (Round d a) 
Show a => Show (Round dir a) 
(Rounding d, Precision a) => RealExtras (Round d a) 

data Up Source

Instances

data Down Source

Instances

data Trunc Source

Instances

up :: a -> Round Up aSource

runUp :: Round Up a -> aSource