Module
Network.Ethereum.Core.BigNumber
- Package
- purescript-eth-core
- Repository
- f-o-a-m/purescript-eth-core
#BigNumber Source
#Algebra Source
class (Ring r, Ring a, LeftModule a r, RightModule a r) <= Algebra a r whereMembers
embed :: r -> a
Instances
#parseBigNumber Source
parseBigNumber :: Radix -> String -> Maybe BigNumberConvert a string in the given base to a BigNumber
#toTwosComplement Source
toTwosComplement :: BigNumber -> BigNumberTake the twos complement of a BigNumer
#unsafeToInt Source
unsafeToInt :: BigNumber -> IntUnsafely coerce a BigNumber to an Int.
#floorBigNumber Source
floorBigNumber :: BigNumber -> BigNumberTake the integer part of a big number
Re-exports from Data.Int
#Radix Source
newtype RadixThe number of unique digits (including zero) used to represent integers in a specific base.
#hexadecimal Source
hexadecimal :: RadixThe base-16 system.