Skip to main content

mulField

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.15.0


@midnight-ntwrk/compact-runtime / mulField

Function: mulField()

function mulField(x, y): bigint;

Field multiplication returns the result of multipying x and y, wrapping if necessary x and y are assumed to be values in the range [0, FIELD_MODULUS)

Parameters

x

bigint

y

bigint

Returns

bigint