iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Word64

Synopsis

Documentation

class Word64Encode a where Source #

encode64 / decode64

Int- 4 * 10^184 * 10^18
(Int, Int)-10^910^9
(Int, Int, Int)-10^610^6

encodeNonNegative64 / decodeNonNegative64

Int09 * 10^18
(Int, Int)02 * 10^9
(Int, Int, Int)02 * 10^6

Minimal complete definition

encode64, decode64

Methods

encode64 :: a -> Word64 Source #

decode64 :: Word64 -> a Source #

encodeNonNegative64 :: a -> Word64 Source #

for non-negative

decodeNonNegative64 :: Word64 -> a Source #

for non-negative