llvm-hs-pure-5.1.2: Pure Haskell LLVM functionality (no FFI).

Safe HaskellSafe
LanguageHaskell98

LLVM.AST.Float

Description

This module provides a sub-namespace for a type to support the various sizes of floating point numbers LLVM supports. It is most definitely intended to be imported qualified.

Synopsis

Documentation

data SomeFloat Source #

A type summing up the various float types. N.B. Note that in the constructors with multiple fields, the lower significance bits are on the right - e.g. Quadruple highbits lowbits

Instances

Eq SomeFloat Source # 
Data SomeFloat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SomeFloat -> c SomeFloat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SomeFloat #

toConstr :: SomeFloat -> Constr #

dataTypeOf :: SomeFloat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SomeFloat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SomeFloat) #

gmapT :: (forall b. Data b => b -> b) -> SomeFloat -> SomeFloat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SomeFloat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SomeFloat -> r #

gmapQ :: (forall d. Data d => d -> u) -> SomeFloat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SomeFloat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SomeFloat -> m SomeFloat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SomeFloat -> m SomeFloat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SomeFloat -> m SomeFloat #

Ord SomeFloat Source # 
Read SomeFloat Source # 
Show SomeFloat Source # 
Generic SomeFloat Source # 

Associated Types

type Rep SomeFloat :: * -> * #

Typed SomeFloat Source # 
type Rep SomeFloat Source #