Standard Nexus Tool that adds two [prim@i64] numbers and returns the result.
a: [prim@i64]
The first number to add.
b: [prim@i64]
The second number to add.
ok
The addition was successful.
ok.result: [prim@i64] - The result of the addition.
err
The addition failed due to overflow.
err.reason: [String] - The reason for the error. This is always overflow.
Standard Nexus Tool that multiplies two [prim@i64] numbers and returns the result.
a: [prim@i64]
The first number to multiply.
b: [prim@i64]
The second number to multiply.
ok
The multiplication was successful.
ok.result: [prim@i64] - The result of the multiplication.
err
The multiplication failed due to overflow.
err.reason: [String] - The reason for the error. This is always overflow.
Standard Nexus Tool that compares two [prim@i64] numbers and returns the result.
a: [prim@i64]
The first number to compare.
b: [prim@i64]
The second number to compare.
gt
The first number is greater than the second.
gt.a: [prim@i64] - The first number.gt.b: [prim@i64] - The second number.
eq
The first number is equal to the second.
eq.a: [prim@i64] - The first number.eq.b: [prim@i64] - The second number.
lt
The first number is less than the second.
lt.a: [prim@i64] - The first number.lt.b: [prim@i64] - The second number.
Standard Nexus Tool that sums an array of [i64] numbers and returns the result.
vec: [Vec<prim@i64>]
The array of numbers to sum.
ok
The summation was successful.
ok.result: [prim@i64] - The result of the summation.
err
The summation failed due to overflow.
err.reason: [String] - The reason for the error. This is always overflow.