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

Surou · June 19, 2018 · Last by strahe replied at June 19, 2018 · 12487 hits
#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

共收到 1 条回复
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up