Changeset 32b0404 in git


Ignore:
Timestamp:
Mar 31, 2000, 5:32:24 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
e53604737a862d2d5ca1e9122fa151e45148811a
Parents:
82f0a0f17e4f4e7fae80f34285fc2b04022c3bed
Message:
*hannes: allow 1-bit Exps, update check in pPower


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

Legend:

Unmodified
Added
Removed
  • Singular/polys1.cc

    r82f0a0 r32b0404  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys1.cc,v 1.34 2000-02-29 16:32:35 Singular Exp $ */
     4/* $Id: polys1.cc,v 1.35 2000-03-31 15:32:24 Singular Exp $ */
    55
    66/*
     
    428428  if(p!=NULL)
    429429  {
     430#ifdef HAVE_SHIFTED_EXPONENTS
     431    if (i > currRing->bitmask)
     432    {
     433      Werror("exponent is too large, max. is %d",currRing->bitmask);
     434      return NULL;
     435    }
     436#else
    430437    if (i > EXPONENT_MAX)
    431438    {
     
    433440      return NULL;
    434441    }
     442#endif
    435443    switch (i)
    436444    {
  • Singular/ring.cc

    r82f0a0 r32b0404  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.101 2000-03-31 13:19:19 Singular Exp $ */
     4/* $Id: ring.cc,v 1.102 2000-03-31 15:32:24 Singular Exp $ */
    55
    66/*
     
    22432243    bits=16; bitmask=0xffff;
    22442244  }
     2245  else if (bitmask <= 1)
     2246  {
     2247    bits=1; bitmask = 1;
     2248  }
    22452249  else if (bitmask <= 3)
    22462250  {
Note: See TracChangeset for help on using the changeset viewer.