Changeset b973c0 in git for factory/fac_cantzass.cc


Ignore:
Timestamp:
Apr 7, 1997, 6:24:16 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
d754b755dbf078bffb02659adfeb40a5391bc187
Parents:
5eb9e027986fd06812e858ff3c458b5786c87781
Message:
#include <config.h> added


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

Legend:

Unmodified
Added
Removed
  • factory/fac_cantzass.cc

    r5eb9e0 rb973c0  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fac_cantzass.cc,v 1.0 1996-05-17 10:59:45 stobbe Exp $
     2// $Id: fac_cantzass.cc,v 1.1 1997-04-07 16:20:23 schmidt Exp $
    33
    44/*
    55$Log: not supported by cvs2svn $
     6Revision 1.0  1996/05/17 10:59:45  stobbe
     7Initial revision
     8
    69*/
    710
     11#include <config.h>
     12
    813#include "cf_gmp.h"
    914
    1015#include "assert.h"
     16
    1117#include "cf_defs.h"
    1218#include "cf_globals.h"
     
    152158    int d, d1;
    153159    Variable x = f.mvar();
    154  
     160
    155161    if ( (d=f.degree(x)) == s )
    156162        return CFFactor( f, 1 );
     
    174180    int d, d1;
    175181    Variable x = f.mvar();
    176  
     182
    177183    if ( (d=f.degree(x)) == s )
    178184        return CFFactor( f, 1 );
     
    221227
    222228    MP_INT m;
    223  
     229
    224230    mpz_init( &m );
    225231    mpz_mypow_ui( &m, p, s );
     
    242248
    243249    MP_INT m;
    244  
     250
    245251    mpz_init( &m );
    246252    mpz_mypow_ui( &m, p, s );
     
    265271
    266272    MP_INT m;
    267  
     273
    268274    mpz_init( &m );
    269275    mpz_mypow( &m, q, s );
     
    280286    return prod;
    281287}
    282 
    283 
Note: See TracChangeset for help on using the changeset viewer.