# mulField

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / 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[​](#parameters "Direct link to Parameters")

### x[​](#x "Direct link to x")

`bigint`

### y[​](#y "Direct link to y")

`bigint`

## Returns[​](#returns "Direct link to Returns")

`bigint`
