欢迎所有爱好区块链技术的人加入。

ARCHIVES / 93.HTML

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

Surou EOS-开源推荐

#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