Changeset a52291 in git for factory/int_pp.h


Ignore:
Timestamp:
Nov 24, 2011, 2:35:53 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
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
Message:
replacing MP_INT by mpz_t

Conflicts:

	factory/cf_factory.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/int_pp.h

    r1c48503 ra52291  
    2727{
    2828private:
    29     MP_INT thempi;
     29    mpz_t thempi;
    3030    static int initialized;
    3131    static int prime;
    3232    static int exp;
    33     static MP_INT primepow;
    34     static MP_INT primepowhalf;
     33    static mpz_t primepow;
     34    static mpz_t primepowhalf;
    3535    static int initialize();
    36     static MP_INT & MPI( const InternalCF * const c );
     36    static mpz_ptr MPI( const InternalCF * const c );
    3737public:
    3838    InternalPrimePower();
     
    4343    InternalPrimePower( const int i );
    4444    InternalPrimePower( const char * str, const int base=10 );
    45     InternalPrimePower( const MP_INT & );
     45    InternalPrimePower( const mpz_ptr );
    4646    ~InternalPrimePower();
    4747    InternalCF* deepCopyObject() const;
     
    9494
    9595    int sign() const;
    96     friend MP_INT getmpi ( InternalCF * value, bool symmetric );
     96    friend mpz_ptr getmpi ( InternalCF * value, bool symmetric );
    9797};
    9898
    99 inline MP_INT & InternalPrimePower::MPI( const InternalCF * const c )
     99inline mpz_ptr InternalPrimePower::MPI( const InternalCF * const c )
    100100{
    101101    return (((InternalPrimePower*)c)->thempi);
Note: See TracChangeset for help on using the changeset viewer.