Changeset 05ac04 in git


Ignore:
Timestamp:
Sep 10, 1997, 5:42:36 PM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
b761b9bd513a1376d632a6fdebb102ed20df5d4a
Parents:
c62f38880e34e425670cadd1e4601a54843b9953
Message:
	* int_pp.cc (InternalPrimePower::sign): call to mpz_cmp_si()
	  replaced by call to mpz_sgn()


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

Legend:

Unmodified
Added
Removed
  • factory/int_pp.cc

    rc62f38 r05ac04  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: int_pp.cc,v 1.4 1997-09-09 09:03:35 schmidt Exp $ */
     2/* $Id: int_pp.cc,v 1.5 1997-09-10 15:42:36 schmidt Exp $ */
    33
    44#include <config.h>
     
    377377}
    378378
    379 int InternalPrimePower::sign ( ) const
    380 {
    381     return mpz_cmp_si( &thempi, 0 );
    382 }
     379//{{{ int InternalPrimePower::sign () const
     380// docu: see CanonicalForm::sign()
     381int
     382InternalPrimePower::sign () const
     383{
     384    return mpz_sgn( &thempi );
     385}
     386//}}}
Note: See TracChangeset for help on using the changeset viewer.