Changeset 6c688b in git
- Timestamp:
- Apr 6, 2017, 6:25:11 PM (7 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 2664f0ac115b9d06a4b47a9457fa1b6b72bd8dbe
- Parents:
- 9de60aeb052f06da067300c3d20c54a0c47c7a8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/gfanlib/callgfanlib_conversion.cc
r9de60a r6c688b 12 12 mpz_init(i); 13 13 I.setGmp(i); 14 14 15 long m = 268435456; 16 number j; 15 17 if(mpz_cmp_si(i,m)) 16 18 { 17 19 int temp = (int) mpz_get_si(i); 18 returnn_Init(temp,coeffs_BIGINT);20 j = n_Init(temp,coeffs_BIGINT); 19 21 } 20 22 else 21 return n_InitMPZ(i,coeffs_BIGINT); 23 j = n_InitMPZ(i,coeffs_BIGINT); 24 25 mpz_clear(i); 26 return j; 22 27 } 23 28
Note: See TracChangeset
for help on using the changeset viewer.