Changeset fccc2c in git for Singular/ipid.cc


Ignore:
Timestamp:
Apr 19, 2007, 2:05:39 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1134b5b8cb28b554f8a08701cf30c20def285743
Parents:
1d430ab97fb0bc40dcbac66c9e99a0f9c3344fec
Message:
*hannes: getid again


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

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    r1d430ab rfccc2c  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipid.cc,v 1.80 2007-04-18 16:15:58 Singular Exp $ */
     4/* $Id: ipid.cc,v 1.81 2007-04-19 12:05:39 Singular Exp $ */
    55
    66/*
     
    5959
    6060#ifdef HAVE_IDI
    61 int iiS2I(const char *s, int &less4)
    62 {
    63   less4=1;
     61int iiS2I(const char *s)
     62{
    6463  int i;
    6564  i=s[0];
     
    7372      {
    7473        i=(i<<8)+s[3];
    75         less4=0;
    7674      }
    7775    }
     
    240238  return found;
    241239#else
    242   int less4;
    243   int i=iiS2I(s,less4);
     240  int i=iiS2I(s);
     241  int less4=(i < (1<<24));
    244242  while (h!=NULL)
    245243  {
     
    284282  IDNEXT(h) = this;
    285283#ifdef HAVE_IDI
    286   int dummy;
    287   h->id_i=iiS2I(s,dummy);
     284  h->id_i=iiS2I(s);
    288285#endif
    289286  if (init)
Note: See TracChangeset for help on using the changeset viewer.