method
Huge.neg
Huge.neg(a) -> Huge
Returns -a, the same magnitude with the opposite sign.
Example
program Demo {
handler Step phase Update {
let owed = Huge.neg(balance)
}
}Huge.neg(a) -> Huge
Returns -a, the same magnitude with the opposite sign.
program Demo {
handler Step phase Update {
let owed = Huge.neg(balance)
}
}