EOS.IO智能合约的无限精度整数库(biginteger-for-eosio)

2018-06-19 16:54:15
#include "eoslib/print.hpp"  
#include "BigIntegerLibrary.hpp"  
    
 BigInteger a = 65536;  
 print("a * a * a * a * a * a * a * a: ", ( a * a * a * a * a * a * a * a ) );

then, eosd prints 340282366920938463463374607431768211456.

github: https://github.com/plactal/biginteger-for-eosio

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »