Changeset 939ac5f in git


Ignore:
Timestamp:
Aug 22, 2000, 11:03:21 AM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
29c03cba2a9cc84f615cbd8dc65a976688228a3c
Parents:
de023aded2316d538ae624544ebb39c049e712d9
Message:
*hannes: SHIFTED_EXP fixes


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

Legend:

Unmodified
Added
Removed
  • Singular/polys-impl.cc

    rde023ad r939ac5f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys-impl.cc,v 1.44 2000-08-14 12:56:44 obachman Exp $ */
     4/* $Id: polys-impl.cc,v 1.45 2000-08-22 09:03:20 Singular Exp $ */
    55
    66/***************************************************************
     
    914914#endif
    915915
     916#ifdef HAVE_SHIFTED_EXPONENTS
     917#ifdef PDEBUG
     918int rComp0(poly p1,poly p2)
     919{
     920  int i;
     921  for(i=0; i<=currRing->pCompHighIndex;i++)
     922  {
     923    if (p1->exp.l[i] != p2->exp.l[i])
     924    {
     925      if (p1->exp.l[i] > p2->exp.l[i])
     926        return currRing->ordsgn[i];
     927      else
     928        return -currRing->ordsgn[i];
     929    }
     930  }
     931  return 0;
     932}
     933#endif
     934#endif
    916935#endif // POLYS_IMPL_CC
  • Singular/polys1.cc

    rde023ad r939ac5f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys1.cc,v 1.39 2000-08-14 12:56:46 obachman Exp $ */
     4/* $Id: polys1.cc,v 1.40 2000-08-22 09:03:21 Singular Exp $ */
    55
    66/*
     
    447447    if (i > currRing->bitmask)
    448448    {
    449       Werror("exponent is too large, max. is %d",currRing->bitmask);
     449      Werror("exponent %d is too large, max. is %d",i,currRing->bitmask);
    450450      return NULL;
    451451    }
     
    453453    if (i > EXPONENT_MAX)
    454454    {
    455       Werror("exponent is too large, max. is %d",EXPONENT_MAX);
     455      Werror("exponent %d is too large, max. is %d",i,EXPONENT_MAX);
    456456      return NULL;
    457457    }
  • Singular/ring.cc

    rde023ad r939ac5f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.104 2000-08-18 15:42:08 Singular Exp $ */
     4/* $Id: ring.cc,v 1.105 2000-08-22 09:03:21 Singular Exp $ */
    55
    66/*
     
    25592559  for(j=0;j<=r->pCompHighIndex;j++)
    25602560  {
    2561     r->ordsgn[r->pCompLSize - j - 1]
    2562       = tmp_ordsgn[j];
     2561    r->ordsgn[j] = tmp_ordsgn[j];
    25632562  }
    25642563
Note: See TracChangeset for help on using the changeset viewer.