Changeset d07137 in git for factory/int_pp.cc
- Timestamp:
- Oct 15, 2003, 7:19:41 PM (21 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ecd23349865d588d280037e46df36f300536d5a2
- Parents:
- 2499bf918092002632ace751f0bbae7bd5a2cccb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_pp.cc
r2499bf rd07137 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: int_pp.cc,v 1. 9 1998-06-26 16:14:26 schmidtExp $ */2 /* $Id: int_pp.cc,v 1.10 2003-10-15 17:19:41 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 38 38 InternalPrimePower::InternalPrimePower( const MP_INT & mpi ) : thempi( mpi ) {} 39 39 40 InternalPrimePower::InternalPrimePower( const char * str )41 { 42 mpz_init_set_str( &thempi, str, 10);40 InternalPrimePower::InternalPrimePower( const char * str, const int base ) 41 { 42 mpz_init_set_str( &thempi, str, base ); 43 43 if ( mpz_cmp_si( &thempi, 0 ) < 0 ) { 44 44 mpz_neg( &thempi, &thempi );
Note: See TracChangeset
for help on using the changeset viewer.