[][src]Module leo_compiler::expression::arithmetic

Methods to enforce arithmetic expressions in a compiled Leo program.

Re-exports

pub use self::add::*;
pub use self::sub::*;
pub use self::negate::*;
pub use self::mul::*;
pub use self::div::*;
pub use self::pow::*;

Modules

add

Enforces an arithmetic + operator in a resolved Leo program.

div

Enforces an arithmetic / operator in a resolved Leo program.

mul

Enforces an arithmetic * operator in a resolved Leo program.

negate

Enforces a unary negate - operator in a resolved Leo program.

pow

Enforces an arithmetic ** operator in a resolved Leo program.

sub

Enforces an arithmetic - operator in a resolved Leo program.