Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- isnan :: forall a. (IvoryVar a, Floating a) => a -> IBool
- isinf :: forall a. (IvoryVar a, Floating a) => a -> IBool
- newtype IFloat = IFloat {}
- ifloat :: Float -> IFloat
- newtype IDouble = IDouble {
- getIDouble :: Expr
- idouble :: Double -> IDouble
- primRound :: IvoryExpr a => ExpOp -> a -> a
- class (Floating a, IvoryExpr a) => IvoryFloat a where
Documentation
Instances
Floating IFloat Source # | |
Fractional IFloat Source # | |
Num IFloat Source # | |
IvoryExpr IFloat Source # | |
IvoryVar IFloat Source # | |
IvoryType IFloat Source # | |
IvoryOrd IFloat Source # | |
IvoryEq IFloat Source # | |
IvoryStore IFloat Source # | |
Defined in Ivory.Language.Float | |
IvoryFloat IFloat Source # | |
Default IFloat Source # | |
Defined in Ivory.Language.Cast defaultVal :: IFloat | |
IvoryZeroVal IFloat Source # | |
IvoryInit IFloat Source # | |
(Default to, Bounded to, IvoryIntegral to, SafeCast to IFloat) => RuntimeCast IFloat to Source # | Casting from a floating to a |
Defined in Ivory.Language.Cast | |
SafeCast Sint32 IFloat Source # | |
SafeCast Sint16 IFloat Source # | |
SafeCast Sint8 IFloat Source # | |
SafeCast Uint32 IFloat Source # | |
SafeCast Uint16 IFloat Source # | |
SafeCast Uint8 IFloat Source # | |
SafeCast IBool IFloat Source # | |
SafeCast IFloat IDouble Source # | |
SafeCast IFloat IFloat Source # | |
Instances
class (Floating a, IvoryExpr a) => IvoryFloat a where Source #
Nothing
Round a floating point number.
Take the ceiling of a floating point number.
Take the floor of a floating point number.
atan2F :: a -> a -> a Source #
The arctangent function of two arguments.
Instances
IvoryFloat IDouble Source # | |
IvoryFloat IFloat Source # | |