Mercerenies / fifi-calculator

1 stars 0 forks source link

ArithExpr is too eager on division #137

Closed Mercerenies closed 2 days ago

Mercerenies commented 2 days ago

1 / 2, in the ArithExpr engine, makes assumptions about whether we want a rational or floating result, without knowing the current CalculationMode. We should at least defer that calculation until we figure out a way to do it right.