Changeset ba35e5 in git


Ignore:
Timestamp:
Jun 29, 1998, 3:16:37 PM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4f1744fee0f9986566e8c71d55ad66e9d64d82bd
Parents:
caa6f48c8467decdf3e08f37573afde7096c6902
Message:
CodeWarrior: type "long long" unknown


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

Legend:

Unmodified
Added
Removed
  • Singular/syz1.cc

    rcaa6f4 rba35e5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz1.cc,v 1.28 1998-05-14 13:04:21 Singular Exp $ */
     4/* $Id: syz1.cc,v 1.29 1998-06-29 13:16:37 pohl Exp $ */
    55/*
    66* ABSTRACT: resolutions
     
    25622562static void sySetHighdeg()
    25632563{
     2564#ifdef __MWERKS__
     2565  const double m=(double)INT_MAX;
     2566  double t=1.0;
     2567  unsigned int h_d=1;
     2568  unsigned int h_n=1+pVariables;
     2569  loop
     2570  {
     2571    t *=(double)h_n;
     2572    t /=(double)h_d;
     2573    if (t>=m) break;
     2574    h_d++;
     2575    h_n++;
     2576  }
     2577  h_d--;
     2578  highdeg = h_d;
     2579#else
    25642580  long long t=1, h_d=1;
    25652581  long long h_n=1+pVariables;
     
    25712587  h_d--;
    25722588  highdeg = h_d;
     2589#endif
    25732590  //Print("max deg=%d\n",highdeg);
    25742591}
Note: See TracChangeset for help on using the changeset viewer.