Changeset 5944b4 in git for factory/cf_gcd.cc


Ignore:
Timestamp:
Sep 25, 2006, 2:33:11 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6f313f90cce6aac26adf9810aca4b52e58963e35
Parents:
554c78cf40b9c95bb75a8493630a4c4c6b846e6c
Message:
*hannes: debug possibility


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

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    r554c78c r5944b4  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_gcd.cc,v 1.47 2006-05-16 13:43:18 Singular Exp $ */
     2/* $Id: cf_gcd.cc,v 1.48 2006-09-25 12:33:11 Singular Exp $ */
    33
    44#include <config.h>
     
    627627            {
    628628                CanonicalForm d;
     629#if 1
    629630                do{ d = gcd_poly( f, g ); }
    630631                while ((!fdivides(d,f)) || (!fdivides(d,g)));
     632#else
     633                while(1)
     634                {
     635                  d = gcd_poly( f, g );
     636                  if ((fdivides(d,f)) && (fdivides(d,g))) break;
     637                  printf("g"); fflush(stdout);
     638                }
     639#endif
    631640                return abs( d );
    632641            }
Note: See TracChangeset for help on using the changeset viewer.