Changeset 28f88cb in git for factory


Ignore:
Timestamp:
Oct 15, 2008, 12:54:01 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
abc317207a625bc95883a88cf6b4babbd9449669
Parents:
d8217b926ff2c05a79842a11ec7aca90da240d9d
Message:
*hannes: iostream


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

Legend:

Unmodified
Added
Removed
  • factory/fieldGCD.cc

    rd8217b r28f88cb  
    11#include <stdio.h>
     2#include <config.h>
     3#ifndef NOSTREAMIO
     4#ifdef HAVE_IOSTREAM
     5#include <iostream>
     6#define OSTREAM std::ostream
     7#elif defined(HAVE_IOSTREAM_H)
    28#include <iostream.h>
    3 #include <config.h>
     9#define OSTREAM ostream
     10#endif
     11#endif /* NOSTREAMIO */
    412
    513#include "cf_defs.h"
     
    112120      {
    113121        g_image = gm / vcontent(gm, Variable(2));
    114         //out_cf("=========== try ",g_image,"\n");
     122        //out_cf("=========== try ",g_image,"\n");
    115123        if(fdivides(g_image,f) && fdivides(g_image,g)) // trial division
    116         {
    117           //printf("=========== okay\n");
     124        {
     125          //printf("=========== okay\n");
    118126          return NN(c*g_image);
    119         }
     127        }
    120128      }
    121129      gm = gnew;
Note: See TracChangeset for help on using the changeset viewer.