Changeset 645a19 in git for kernel/pInline2.h


Ignore:
Timestamp:
Jul 20, 2009, 2:01:13 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
195b03db00f5e08ad6a891adcf3a7794a5dd00bf
Parents:
45c67dc7a3eec0097d1ad6ff5635d960cc089937
Message:
*motsak: deep kernel implementation of induced Schreyer ordering + helpers


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

Legend:

Unmodified
Added
Removed
  • kernel/pInline2.h

    r45c67dc r645a19  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline2.h,v 1.16 2009-05-29 13:57:35 motsak Exp $
     9 *  Version: $Id: pInline2.h,v 1.17 2009-07-20 12:00:51 motsak Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE2_H
     
    5050        return (((long)((p)->exp[r->pOrdIndex]))-POLY_NEGWEIGHT_OFFSET);
    5151      case ro_syzcomp:
    52       case ro_syz:
     52      case ro_syz: case ro_isTemp:  case ro_is:
    5353      case ro_cp:
    5454        i++;
     
    7575        return (p)->exp[r->pOrdIndex]=o+POLY_NEGWEIGHT_OFFSET;
    7676      case ro_syzcomp:
    77       case ro_syz:
     77      case ro_syz:  case ro_isTemp: case ro_is:
    7878      case ro_cp:
    7979        i++;
     
    197197  // 1, 2, 3 - anything like 00011..11
    198198  pAssume2((twobits >> 2) == 0);
    199   const unsigned long _bitmasks[4] = {-1, 0x7fff, 0x7f, 0x3};
    200   return bitmask & _bitmasks[twobits]; 
    201 }
    202 
    203 
    204 /// @Note: we may add some more info (6 ) into VarOffset and thus encode 
     199  static const unsigned long _bitmasks[4] = {-1, 0x7fff, 0x7f, 0x3};
     200  return bitmask & _bitmasks[twobits];
     201}
     202
     203
     204/// @Note: we may add some more info (6 ) into VarOffset and thus encode
    205205PINLINE2 int p_GetExp(const poly p, const unsigned long iBitmask, const int VarOffset)
    206206{
Note: See TracChangeset for help on using the changeset viewer.