| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ivory.Language.Float
- 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 | |
| IvoryFloat IFloat Source | |
| Default IFloat Source | |
| 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 |
| 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
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.
The arctangent function of two arguments.
Instances