Skip to main content

Questions tagged [bignumber]

Questions about added-precision libraries often used to account for the large granularity of values across the Ethereum platform (such as bn.js, BigDecimal, or Ethers.js's native BigNumber)

Filter by
Sorted by
Tagged with
4 votes
0 answers
430 views

Gas cost for bigInt library

I am working on a big integer library in the online compiler. Currently having gas/computational time issues with the modulus function. I first implemented it using repeated subtraction: function ...
2 votes
1 answer
305 views

Sending tokens getting error

Hi i deployed a token contract in ethereum and managed to interact with it. solidity code : contract Token { mapping (address => uint) public balances; event TokenSent(address sender, address ...
1 vote
2 answers
5k views

BigNumber issue — RequireJS and Web3

Here's my main.js file: require.config({ paths: { angular: '//ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min', web3: 'lib/web3', MainController: 'controllers/...

1 2
3