EmberCoin / Ember

Official Ember Blockchain
http://embercoin.io/
MIT License
25 stars 31 forks source link

Update main.cpp #17

Closed Truthsayer1 closed 6 years ago

Truthsayer1 commented 7 years ago

Fixes overflow after 38.81million nCoinAge but with reduced accuracy....won't match old code exactly unless .0 is added to a number to force floatingpoint calcs (retains accuracy with no overflow problem over 100billion nCoinAge as the returned value is well within int64 limits)... still debating...