Changeset 6c5ef1 in git


Ignore:
Timestamp:
May 25, 1998, 2:27:56 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
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.