Changeset 6c5ef1 in git


Ignore:
Timestamp:
May 25, 1998, 2:27:56 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
74ec24ce8896da0a92121f4ba3c8abad240903ee
Parents:
d9267fcb189e48308b5f068bd1ebcdfb10208994
Message:
* hannes:int ^ int: exp must be non-negative (iparith.cc newdoc/types.doc)


git-svn-id: file:///usr/local/Singular/svn/trunk@1978 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rd9267f r6c5ef1  
    538538      }
    539539    }
    540   }
    541   if (overflow)
    542     Warn("int overflow(^), result may be wrong");
    543   res->data = (char *)rc;
    544   return FALSE;
     540    if (overflow)
     541      Warn("int overflow(^), result may be wrong");
     542    res->data = (char *)rc;
     543    return FALSE;
     544  }
     545  else
     546  {
     547    WerrorS("exponent must be non-negative");
     548    return TRUE;
     549  }
    545550}
    546551static BOOLEAN jjPOWER_N(leftv res, leftv u, leftv v)
Note: See TracChangeset for help on using the changeset viewer.