Changeset f3fb4d in git


Ignore:
Timestamp:
Sep 27, 2011, 7:23:50 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
aa98be749867c7cb115d6a8245308363068b1c0d
Parents:
d44785a8156c784941520a04a858b1fab8213861
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-27 19:23:50+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:40+01:00
Message:
fix: overflow checks from trunk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rd44785 rf3fb4d  
    526526  int dummy;
    527527  if ((u_p!=NULL)
    528   && ((v_i!=0) &&
    529        (pTotaldegree(u_p) > (signed long)currRing->bitmask)/(signed long)v_i))
     528  && ((v_i!=0) && 
     529      ((long)pTotaldegree(u_p) > (signed long)currRing->bitmask / (signed long)v_i)))
    530530  {
    531531    Werror("OVERFLOW in power(d=%ld, e=%d, max=%ld)",
Note: See TracChangeset for help on using the changeset viewer.