Changeset caa9c4 in git
- Timestamp:
- Jun 22, 2021, 4:40:52 PM (3 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '98550b669234b32be762076c32b3be2c35188ac4')
- Children:
- 9219133c463b1ef39cd6e6e9fe04673538fdd5e8
- Parents:
- da0c752a1b75564371344c430f1b1f95bb02fbaf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/rintegers2.cc
rda0c75 rcaa9c4 374 374 } 375 375 376 static number nrzMaplongR(number from, const coeffs src, const coeffs dst) 377 { 378 gmp_float *ff=(gmp_float*)from; 379 if (mpf_fits_slong_p(ff->t)) 380 { 381 long l=mpf_get_si(ff->t); 382 return nrzInit(l,dst); 383 } 384 return nrzInit(0,dst); 385 } 386 376 387 static nMapFunc nrzSetMap(const coeffs src, const coeffs /*dst*/) 377 388 { … … 398 409 { 399 410 return nrzMapQ; 411 } 412 if (nCoeff_is_long_R(src)) 413 { 414 return nrzMaplongR; 400 415 } 401 416 return NULL; // default
Note: See TracChangeset
for help on using the changeset viewer.