subField
@midnight-ntwrk/compact-runtime v0.9.0
@midnight-ntwrk/compact-runtime / subField
Function: subField()
function subField(x, y): bigint;
Field subtraction returns the result of subtracting y from x, wrapping if necessary x and y are assumed to be values in the range [0, FIELD_MODULUS)
Parameters​
x​
bigint
y​
bigint
Returns​
bigint