Changeset f003a9 in git for Singular/polys.cc


Ignore:
Timestamp:
Mar 23, 1998, 11:51:10 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
427ba93431587575a0ada806631e26f2aa275abc
Parents:
469bce4cdf3d9ed6f4f24673a0ac2fca1836d944
Message:
	* polys-impl.cc, polys.cc: No COMP_FAST any more

	* Makefile.in: Introduced variable PERL, set by configure

	* kstdfac.cc (kStratCopy): kModW iv is not copied, but just the
	pointer is set
1998-03-18  Olaf Bachmann  <obachman@mathematik.uni-kl.de>

	* Makefile.in: added Singularb target for bprof

	* polys-impl.h, polys-comp.h: Cleaned up COMP_FAST and related
	#defines

1998-03-16  Olaf Bachmann  <obachman@mathematik.uni-kl.de>

	* polys-impl.h: no #define COMP_FAST

	* configure.in,Makefile.in: check for flex -P; increased version
	number to 1.1.7


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

Legend:

Unmodified
Added
Removed
  • Singular/polys.cc

    r469bce rf003a9  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.18 1998-03-19 16:05:50 obachman Exp $ */
     4/* $Id: polys.cc,v 1.19 1998-03-23 22:51:04 obachman Exp $ */
    55
    66/*
     
    4343int pVarLowIndex;   // lowest exponent index
    4444int pVarHighIndex;  // highest exponent index
     45int pVarCompIndex;  // Location of component in exponent vector
    4546
    4647/* 1 for polynomial ring, -1 otherwise */
     
    236237
    237238  if (d) Mreturn(d, pOrdSgn);
    238   _pMonComp_otEXPCOMP_nwTWO(p1, p2, d, goto NotEqual, return 0);
    239 
     239//   _pMonComp_otEXPCOMP_nwTWO(p1, p2, d, goto NotEqual, return 0);
     240
     241do                                                             
     242{                                                               
     243  const long* s1 = (long*) &(p1->exp[0]);                       
     244  const long* s2 = (long*) &(p2->exp[0]);                       
     245  d = *s1 - *s2;                                               
     246  if (d) goto NotEqual;
     247  d = *(s1 + 1) - *(s2 + 1);                                   
     248  if (d)                                                       
     249  {                                                             
     250    if (((long) (pGetComp(p1) - pGetComp(p2))) == d)           
     251      d = -d;                                                   
     252    goto NotEqual;                                                   
     253  }                                                             
     254  return 0;                                                     
     255}                                                               
     256 while(0);
     257 
    240258  NotEqual:
    241259  Mreturn(d, pLexSgn);
Note: See TracChangeset for help on using the changeset viewer.