rounding-0.1.1: 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) 

class (Storable (C a), RealFloat (C a), RealFloat a, Enum a) => Precision a Source

Associated Types

type C a :: *Source

data Up Source

Instances

data Down Source

Instances

data Trunc Source

Instances

up :: a -> Round Up aSource

runUp :: Round Up a -> aSource