mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-04-20 03:03:25 -04:00
10 lines
431 B
NASM
10 lines
431 B
NASM
/// A function that takes a field element or integer and converts
|
|
/// it to a (non-negative) integer.
|
|
/// The actual implementation is replaced by a built-in function.
|
|
let int = [];
|
|
|
|
/// A function that takes a field element or integer and converts
|
|
/// it to a field element.
|
|
/// Panics if the input is negative or larger or equal to the field modulus.
|
|
/// The actual implementation is replaced by a built-in function.
|
|
let fe = []; |