区块链中文技术社区

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

#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

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »