|
Org.Org.Semantic.HBase.Basic.BitIntegers |
|
|
|
|
|
Synopsis |
|
class Signable unsigned signed | unsigned -> signed, signed -> unsigned where | | | class HiLo part whole | part -> whole, whole -> part where | | | loPartSigned :: (Signable unsignedWhole signedWhole, HiLo unsignedPart unsignedWhole) => signedWhole -> unsignedPart | | hiPartSigned :: (Signable unsignedWhole signedWhole, HiLo unsignedPart unsignedWhole, Signable unsignedPart signedPart) => signedWhole -> signedPart |
|
|
Documentation |
|
class Signable unsigned signed | unsigned -> signed, signed -> unsigned where |
| Methods | castToSigned :: unsigned -> signed | This does a bit-conversion from unsigned to signed,
assuming the usual representations. | | castToUnsigned :: signed -> unsigned | This does a bit-conversion from signed to unsigned,
assuming the usual representations. |
| | Instances | |
|
|
class HiLo part whole | part -> whole, whole -> part where |
| Methods | loPart :: whole -> part | Get the low half of whole. | | hiPart :: whole -> part | Get the high half of whole. | | makeHiLo :: part -> part -> whole | Make a whole from high and low parts respectively. |
| | Instances | |
|
|
loPartSigned :: (Signable unsignedWhole signedWhole, HiLo unsignedPart unsignedWhole) => signedWhole -> unsignedPart |
Get the unsigned low half of a signed whole. |
|
hiPartSigned :: (Signable unsignedWhole signedWhole, HiLo unsignedPart unsignedWhole, Signable unsignedPart signedPart) => signedWhole -> signedPart |
Get the signed high half of a signed whole. |
|
Produced by Haddock version 0.6 |