[coyotos-dev] BigNum.cxx again [was: BigNum.cxx buglet?]

Thomas Stratmann thomas.stratmann at rub.de
Sun Sep 30 16:21:53 EDT 2007


on line 227:

   BigNum BigNum::lshift_digits(size_t n) const
   {
     if ((nDigits == 0) && (oneDigit == 0))
       return *this;


I *think* this is supposed to be

     if ((nDigits == 1) && (oneDigit == 0))

Can nDigits == 0 happen in any way?

Regards,
Thomas


More information about the coyotos-dev mailing list