Module
Data.HugeInt
- Package
- purescript-precise
- Repository
- purescript-contrib/purescript-precise
#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.
#isPositive Source
isPositive :: HugeInt -> Boolean
#isNegative Source
isNegative :: HugeInt -> Boolean
#numOfDigits Source
numOfDigits :: HugeInt -> Int