Changeset 02fe5f in git


Ignore:
Timestamp:
Feb 23, 2012, 4:59:33 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
2f376457799e4c7e356fd5ba215ecf23a7e0dec3
Parents:
dd156fc3fe4ce7e785c8c6aa066f73f3c887f9bb
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 16:59:33+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 20:35:10+01:00
Message:
change: n_Init for mpz_t is called n_InitMPZ now
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rdd156fc r02fe5f  
    710710          mpz_inp_str(m, f, 10);
    711711          fclose(f);
    712           number n = n_Init(m, coeffs_BIGINT);
     712          number n = n_InitMPZ(m, coeffs_BIGINT);
    713713          res->rtyp = BIGINT_CMD;
    714714          res->data = (void*)n;
  • Singular/misc_ip.cc

    rdd156fc r02fe5f  
    3636// the following 2 inline functions are just convenience shortcuts for Frank's code:
    3737static inline void number2mpz(number n, mpz_t m){ n_MPZ(m, n, coeffs_BIGINT); }
    38 static inline number mpz2number(mpz_t m){ return n_Init(m, coeffs_BIGINT); }
     38static inline number mpz2number(mpz_t m){ return n_InitMPZ(m, coeffs_BIGINT); }
    3939
    4040
  • libpolys/coeffs/coeffs.h

    rdd156fc r02fe5f  
    408408
    409409/// conversion of a GMP integer to number
    410 static inline number n_Init(mpz_t n,     const coeffs r)
     410static inline number n_InitMPZ(mpz_t n,     const coeffs r)
    411411{ assume(r != NULL); assume(r->cfInitMPZ != NULL); return r->cfInitMPZ(n,r); }
    412412
Note: See TracChangeset for help on using the changeset viewer.