ivory-0.1.0.7: Safe embedded C programming.

Safe HaskellNone
LanguageHaskell2010

Ivory.Language.Sint

Synopsis

Documentation

newtype Sint8 Source #

8-bit integers.

Constructors

Sint8 

Fields

Instances

Bounded Sint8 Source # 
Num Sint8 Source # 
Show Sint8 Source # 

Methods

showsPrec :: Int -> Sint8 -> ShowS #

show :: Sint8 -> String #

showList :: [Sint8] -> ShowS #

IvoryExpr Sint8 Source # 

Methods

wrapExpr :: Expr -> Sint8 Source #

IvoryVar Sint8 Source # 
IvoryType Sint8 Source # 
IvoryOrd Sint8 Source # 
IvoryEq Sint8 Source # 
IvoryIntegral Sint8 Source # 

Methods

iDiv :: Sint8 -> Sint8 -> Sint8 Source #

(.%) :: Sint8 -> Sint8 -> Sint8 Source #

IvoryStore Sint8 Source # 
Default Sint8 Source # 

Methods

defaultVal :: Sint8

IvoryZeroVal Sint8 Source # 
IvoryInit Sint8 Source # 

Methods

ival :: Sint8 -> Init (Stored * Sint8) Source #

SignCast Sint8 Uint8 Source # 

Methods

signCast :: Sint8 -> Uint8 Source #

SignCast Uint8 Sint8 Source # 

Methods

signCast :: Uint8 -> Sint8 Source #

SafeCast Sint8 Sint64 Source # 
SafeCast Sint8 Sint32 Source # 
SafeCast Sint8 Sint16 Source # 
SafeCast Sint8 Sint8 Source # 

Methods

safeCast :: Sint8 -> Sint8 Source #

SafeCast Sint8 IDouble Source # 
SafeCast Sint8 IFloat Source # 
SafeCast IBool Sint8 Source # 

Methods

safeCast :: IBool -> Sint8 Source #

TwosComplementCast Uint8 Sint8 Source # 

newtype Sint16 Source #

16-bit integers.

Constructors

Sint16 

Fields

Instances

Bounded Sint16 Source # 
Num Sint16 Source # 
Show Sint16 Source # 
IvoryExpr Sint16 Source # 

Methods

wrapExpr :: Expr -> Sint16 Source #

IvoryVar Sint16 Source # 
IvoryType Sint16 Source # 
IvoryOrd Sint16 Source # 
IvoryEq Sint16 Source # 
IvoryIntegral Sint16 Source # 
IvoryStore Sint16 Source # 
Default Sint16 Source # 

Methods

defaultVal :: Sint16

IvoryZeroVal Sint16 Source # 
IvoryInit Sint16 Source # 
SignCast Sint16 Uint16 Source # 
SignCast Uint16 Sint16 Source # 
SafeCast Sint16 Sint64 Source # 
SafeCast Sint16 Sint32 Source # 
SafeCast Sint16 Sint16 Source # 
SafeCast Sint16 IDouble Source # 
SafeCast Sint16 IFloat Source # 
SafeCast Sint8 Sint16 Source # 
SafeCast Uint8 Sint16 Source # 
SafeCast IBool Sint16 Source # 
TwosComplementCast Uint16 Sint16 Source # 

newtype Sint32 Source #

32-bit integers.

Constructors

Sint32 

Fields

Instances

Bounded Sint32 Source # 
Num Sint32 Source # 
Show Sint32 Source # 
IvoryExpr Sint32 Source # 

Methods

wrapExpr :: Expr -> Sint32 Source #

IvoryVar Sint32 Source # 
IvoryType Sint32 Source # 
IvoryOrd Sint32 Source # 
IvoryEq Sint32 Source # 
IvoryIntegral Sint32 Source # 
IvoryStore Sint32 Source # 
Default Sint32 Source # 

Methods

defaultVal :: Sint32

IvoryZeroVal Sint32 Source # 
IvoryInit Sint32 Source # 
SignCast Sint32 Uint32 Source # 
SignCast Uint32 Sint32 Source # 
SafeCast Sint32 Sint64 Source # 
SafeCast Sint32 Sint32 Source # 
SafeCast Sint32 IDouble Source # 
SafeCast Sint32 IFloat Source # 
SafeCast Sint16 Sint32 Source # 
SafeCast Sint8 Sint32 Source # 
SafeCast Uint16 Sint32 Source # 
SafeCast Uint8 Sint32 Source # 
SafeCast IBool Sint32 Source # 
TwosComplementCast Uint32 Sint32 Source # 

newtype Sint64 Source #

64-bit integers.

Constructors

Sint64 

Fields

Instances

Bounded Sint64 Source # 
Num Sint64 Source # 
Show Sint64 Source # 
IvoryExpr Sint64 Source # 

Methods

wrapExpr :: Expr -> Sint64 Source #

IvoryVar Sint64 Source # 
IvoryType Sint64 Source # 
IvoryOrd Sint64 Source # 
IvoryEq Sint64 Source # 
IvoryIntegral Sint64 Source # 
IvoryStore Sint64 Source # 
Default Sint64 Source # 

Methods

defaultVal :: Sint64

IvoryZeroVal Sint64 Source # 
IvoryInit Sint64 Source # 
SignCast Sint64 Uint64 Source # 
SignCast Uint64 Sint64 Source # 
SafeCast Sint64 Sint64 Source # 
SafeCast Sint64 IDouble Source # 
SafeCast Sint32 Sint64 Source # 
SafeCast Sint16 Sint64 Source # 
SafeCast Sint8 Sint64 Source # 
SafeCast Uint32 Sint64 Source # 
SafeCast Uint16 Sint64 Source # 
SafeCast Uint8 Sint64 Source # 
SafeCast IBool Sint64 Source # 
TwosComplementCast Uint64 Sint64 Source #