Example
`using namespace nil::crypto3::algebra::curves;
[[circuit]] typename pallas::base_field_type::value_type
field_arithmetic_example(typename pallas::base_field_type::value_type a,
typename pallas::base_field_type::value_type b) {
if (a <= b) {
if (a == b) {
return a + b;
}
else {
return a - b;
}
}
if (a >= b) {
if (a > b) {
return a * b;
}
else {
return a / b;
}
}
Example `using namespace nil::crypto3::algebra::curves;
[[circuit]] typename pallas::base_field_type::value_type field_arithmetic_example(typename pallas::base_field_type::value_type a, typename pallas::base_field_type::value_type b) {
}`