It compiles... and runs with FPS of zero
[ipdf/code.git] / src / arbint.cpp
index 3a1757b..d61dabc 100644 (file)
@@ -111,7 +111,7 @@ void Arbint::Division(const Arbint & div, Arbint & result, Arbint & remainder) c
        //TODO: Optimise?
        remainder = *this;
        result = 0L;
-       while ((remainder -= div) > 0L)
+       while ((remainder -= div) > Arbint(0L))
        {
                //Debug("Remainder %c%s", remainder.SignChar(), remainder.DigitStr().c_str());
                //Debug("Result %c%s + 1", result.SignChar(), result.DigitStr().c_str());

UCC git Repository :: git.ucc.asn.au