Module

Data.HugeInt

Package
purescript-precise
Repository
purescript-contrib/purescript-precise

#fromInt Source

#fromString Source

fromString :: String -> Maybe HugeInt

Input must look like a Purescript Int. For example, fromString "123456789012345" => Just (HugeInt 123456789012345).

#fromHugeNum Source

fromHugeNum :: HugeNum -> Maybe HugeInt

Requires the input to have a zero-valued fractional component.

#numOfDigits Source