1 module Data
.Floating
.Classes
where
3 import Prelude
hiding (Floating
(..), RealFloat
(..))
5 data FPClassification
= FPInfinite | FPNaN | FPNormal | FPSubNormal | FPZero
6 deriving (Show, Read, Eq
, Enum
, Bounded
)
8 class Fractional a
=> Floating a
where
26 class Floating a
=> RealFloat a
where
27 copysign
:: a
-> a
-> a
28 nextafter
:: a
-> a
-> a
38 classify
:: a
-> FPClassification