Module
Data.UInt64
- Package
- purescript-int64
- Repository
- purescript-contrib/purescript-int64
Unsigned 64-bit integers.
#fromLowHighBits Source
fromLowHighBits :: Int -> Int -> UInt64
Creates a UInt64
from low and high bits represented as Int
.
#fromNumber Source
fromNumber :: Number -> Maybe UInt64
Creates a UInt64
from a Number
value. The number must already be an
integer and fall within the valid range of values for the UInt64
type
otherwise Nothing
is returned.
#fromString Source
fromString :: String -> Maybe UInt64
Reads a UInt64
from a String
value. The number must parse as an integer
and fall within the valid range of values for the UInt64
type, otherwise
Nothing
is returned.
#fromStringAs Source
fromStringAs :: Radix -> String -> Maybe UInt64
Like fromString
, but the integer can be specified in a different base.
#toStringAs Source
toStringAs :: Radix -> UInt64 -> String
Like toStringAs
, but the integer can be specified in a different base.
#complement Source
complement :: UInt64 -> UInt64
Bitwise NOT.
Re-exports from Data.Int64.Internal
- Modules
- Data.
Int64 - Data.
Int64. Internal - Data.
UInt64