roundable: Split out the Roundable class.
[altfloat.git] / Data / Floating / Prelude.hs
bloba55a60b29872f79da5a460d68296cc9ba116394d
1 {-
2 - Copyright (C) 2009 Nick Bowler.
4 - License BSD2: 2-clause BSD license. See LICENSE for full terms.
5 - This is free software: you are free to change and redistribute it.
6 - There is NO WARRANTY, to the extent permitted by law.
7 -}
9 -- | Alternate prelude for the alternate floating point types. This module
10 -- re-exports the Data.Floating and Data.Poset operations as well as all the
11 -- Prelude operations that do not conflict.
12 module Data.Floating.Prelude (
13 module Data.Floating,
14 module Data.Roundable,
15 module Data.Poset,
16 module Prelude
17 ) where
19 import Prelude hiding (
20 Floating(..), RealFloat(..),
21 Ordering(..), Ord(..),
22 Double, Float,
23 round, truncate, ceiling, floor
26 import Data.Floating
27 import Data.Roundable
28 import Data.Poset