Changeset a52291 in git for factory/int_pp.h
- Timestamp:
- Nov 24, 2011, 2:35:53 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 8b46459e9dad8bec212484f1bfce347c45e41371
- Parents:
- 1c48503bfae9bb885752ba741bd0a236df633d13
- git-author:
- Martin Lee <martinlee84@web.de>2011-11-24 14:35:53+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-24 21:10:03+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_pp.h
r1c48503 ra52291 27 27 { 28 28 private: 29 MP_INTthempi;29 mpz_t thempi; 30 30 static int initialized; 31 31 static int prime; 32 32 static int exp; 33 static MP_INTprimepow;34 static MP_INTprimepowhalf;33 static mpz_t primepow; 34 static mpz_t primepowhalf; 35 35 static int initialize(); 36 static MP_INT &MPI( const InternalCF * const c );36 static mpz_ptr MPI( const InternalCF * const c ); 37 37 public: 38 38 InternalPrimePower(); … … 43 43 InternalPrimePower( const int i ); 44 44 InternalPrimePower( const char * str, const int base=10 ); 45 InternalPrimePower( const MP_INT &);45 InternalPrimePower( const mpz_ptr ); 46 46 ~InternalPrimePower(); 47 47 InternalCF* deepCopyObject() const; … … 94 94 95 95 int sign() const; 96 friend MP_INTgetmpi ( InternalCF * value, bool symmetric );96 friend mpz_ptr getmpi ( InternalCF * value, bool symmetric ); 97 97 }; 98 98 99 inline MP_INT &InternalPrimePower::MPI( const InternalCF * const c )99 inline mpz_ptr InternalPrimePower::MPI( const InternalCF * const c ) 100 100 { 101 101 return (((InternalPrimePower*)c)->thempi);
Note: See TracChangeset
for help on using the changeset viewer.