method
BigInt.add
BigInt.add(a, b) -> BigInt
Returns the exact sum a + b. There is no overflow — the result grows as many digits as it needs.
Example
program Demo {
handler Step phase Update {
let total = BigInt.add(score, reward)
}
}