| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ivory.Language.Float
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 Methods 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 # | |
Constructors
| IDouble | |
Fields
| |
Instances
| Floating IDouble Source # | |
| Fractional IDouble Source # | |
| Num IDouble Source # | |
| IvoryExpr IDouble Source # | |
| IvoryVar IDouble Source # | |
| IvoryType IDouble Source # | |
| IvoryOrd IDouble Source # | |
| IvoryEq IDouble Source # | |
| IvoryStore IDouble Source # | |
Defined in Ivory.Language.Float | |
| IvoryFloat IDouble Source # | |
| Default IDouble Source # | |
Defined in Ivory.Language.Cast Methods | |
| IvoryZeroVal IDouble Source # | |
| IvoryInit IDouble Source # | |
| (Default to, Bounded to, IvoryIntegral to, SafeCast to IDouble) => RuntimeCast IDouble to Source # | |
Defined in Ivory.Language.Cast | |
| SafeCast Sint64 IDouble Source # | |
| SafeCast Sint32 IDouble Source # | |
| SafeCast Sint16 IDouble Source # | |
| SafeCast Sint8 IDouble Source # | |
| SafeCast Uint64 IDouble Source # | |
| SafeCast Uint32 IDouble Source # | |
| SafeCast Uint16 IDouble Source # | |
| SafeCast Uint8 IDouble Source # | |
| SafeCast IBool IDouble Source # | |
| SafeCast IDouble IDouble Source # | |
| SafeCast IFloat IDouble Source # | |
class (Floating a, IvoryExpr a) => IvoryFloat a where Source #
Minimal complete definition
Nothing
Methods
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 # | |