Expand description
Module for removing divisions by replacing them with multiplications by fractions.
This module contains the logic to remove all division operators from an
integer expression. Most importantly, it contains the conversion from
NoMinusIntegerExpr to NoDivIntegerExpr.
Integer expressions without divisions (and subtraction) are represented by
the type NoDivIntegerExpr. This type is a subset of the
NonMinusIntegerExpr type, which is a subset of the
crate::expressions::IntegerExpression type.
Enumsยง
- NoDiv
Integer Expr - Integer expression without division operators
- NoDiv
Integer Op - Integer operator that only allows for addition and multiplication