Fixed length big numbers for AssemblyScript 🚀
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
kolay-v opened this issue 2 years ago · comments
My test case
as
export function test (a: u64, b: u64): u64 { return (u128Safe.from(a) % u128Safe.from(b)).toU64() }
js
console.log(test(19n, 2n)) // outputs 0
Thanks!