Changeset 331d54 in git


Ignore:
Timestamp:
Apr 21, 1998, 12:48:56 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
aaafeb24812a2fa1306280482a08f65373287b7e
Parents:
54c713f739f37f3004843d2f9162eed12ffe61a3
Message:
* got rid of HAVE_STRTOL


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

Legend:

Unmodified
Added
Removed
  • Singular/ffields.cc

    r54c713 r331d54  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ffields.cc,v 1.11 1997-05-02 15:10:12 Singular Exp $ */
     4/* $Id: ffields.cc,v 1.12 1998-04-21 10:48:56 obachman Exp $ */
    55/*
    66* ABSTRACT: finite fields with a none-prime number of elements (via tables)
     
    581581  char *l=strchr(s,';')+1;
    582582  char *n;
    583 #ifdef HAVE_STRTOL 
    584583  int i=strtol(l,&n,10);
    585 #else
    586   int i;
    587   sscanf(l, "%d", &i);
    588 #endif 
    589584  l=n;
    590585  int j=1;
     
    592587  while(i>=0)
    593588  {
    594 #ifdef HAVE_STRTOL
    595589    nfMinPoly[j]=strtol(l,&n,10);
    596 #else
    597     sscanf(l, "%d", &(nfMinPoly[j]));
    598 #endif   
    599590    if (l==n) break;
    600591    l=n;
Note: See TracChangeset for help on using the changeset viewer.