Changeset 3c0e63d in git


Ignore:
Timestamp:
Sep 4, 2012, 11:57:39 AM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
1682691e14d2ada5e1f0a4a4a753b3d05080e7d0
Parents:
f7e9c67cb4e8170fbee30198fd067c7aaee098fc
git-author:
Martin Lee <martinlee84@web.de>2012-09-04 11:57:39+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-05 15:00:02+02:00
Message:
chg: avoid divisions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/int_poly.cc

    rf7e9c6 r3c0e63d  
    22272227InternalPoly::reduceTermList ( termList first, termList redterms, termList & last )
    22282228{
    2229     CanonicalForm coeff = redterms->coeff;
     2229    CanonicalForm coeff = CanonicalForm (1)/redterms->coeff;
    22302230    CanonicalForm newcoeff;
    22312231    int newexp;
     
    22342234    while ( first && ( first->exp >= exp ) )
    22352235    {
    2236         newcoeff = first->coeff / coeff;
     2236        newcoeff = first->coeff * coeff;
    22372237        newexp = first->exp - exp;
    22382238        dummy = first;
Note: See TracChangeset for help on using the changeset viewer.