Changeset 02fe5f in git
- Timestamp:
- Feb 23, 2012, 4:59:33 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- 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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
rdd156fc r02fe5f 710 710 mpz_inp_str(m, f, 10); 711 711 fclose(f); 712 number n = n_Init (m, coeffs_BIGINT);712 number n = n_InitMPZ(m, coeffs_BIGINT); 713 713 res->rtyp = BIGINT_CMD; 714 714 res->data = (void*)n; -
Singular/misc_ip.cc
rdd156fc r02fe5f 36 36 // the following 2 inline functions are just convenience shortcuts for Frank's code: 37 37 static 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); }38 static inline number mpz2number(mpz_t m){ return n_InitMPZ(m, coeffs_BIGINT); } 39 39 40 40 -
libpolys/coeffs/coeffs.h
rdd156fc r02fe5f 408 408 409 409 /// conversion of a GMP integer to number 410 static inline number n_Init (mpz_t n, const coeffs r)410 static inline number n_InitMPZ(mpz_t n, const coeffs r) 411 411 { assume(r != NULL); assume(r->cfInitMPZ != NULL); return r->cfInitMPZ(n,r); } 412 412
Note: See TracChangeset
for help on using the changeset viewer.