Module

Data.Long.Internal

#Signedness

#SInfo

class SInfo (s :: Signedness)  where

Members

Instances

#SignProxy

data SignProxy (s :: Signedness)

Constructors

#signedLongFromInt

#unsignedLongFromInt

#unsafeFromInt

unsafeFromInt :: forall s. SInfo s => Int -> Long s

#fromLowHighBits

fromLowHighBits :: forall s. SInfo s => Int -> Int -> Long s

#fromNumber

fromNumber :: forall s. SInfo s => Bounded (Long s) => Number -> Maybe (Long s)

#fromString

fromString :: forall s. SInfo s => String -> Maybe (Long s)

#fromStringAs

fromStringAs :: forall s. SInfo s => Radix -> String -> Maybe (Long s)

#highBits

highBits :: forall s. Long s -> Int

#lowBits

lowBits :: forall s. Long s -> Int

#toString

toString :: forall s. Long s -> String

#toStringAs

toStringAs :: forall s. Radix -> Long s -> String

#toNumber

toNumber :: forall s. Long s -> Number

Converts a Long to a Number, possibly losing precision.

#parity

parity :: forall s. Long s -> Parity

Returns whether a Long is Even or Odd.

#even

even :: forall s. Long s -> Boolean

#odd

odd :: forall s. Long s -> Boolean

#positive

positive :: forall s. Long s -> Boolean

#negative

negative :: forall s. Long s -> Boolean

#quot

quot :: forall s. Semiring (Long s) => Long s -> Long s -> Long s

#rem

rem :: forall s. Semiring (Long s) => Long s -> Long s -> Long s

#and

and :: forall s. Long s -> Long s -> Long s

#or

or :: forall s. Long s -> Long s -> Long s

#xor

xor :: forall s. Long s -> Long s -> Long s

#shl

shl :: forall s. Long s -> Long s -> Long s

#shr

shr :: forall s. Long s -> Long s -> Long s

#zshr

zshr :: forall s. Long s -> Long s -> Long s

#complement

complement :: forall s. Long s -> Long s

#signedToUnsigned

#unsignedToSigned

#numberBitsToInt

Modules