Changeset 2518db in git
 Timestamp:
 Jun 10, 2010, 9:10:59 PM (13 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
 Children:
 c47d6787c0508430d82d4827bd11adcf8b291078
 Parents:
 7404179581cd9c73f1494d327789d9de22ab925c
 gitauthor:
 Oleksandr Motsak <motsak@mathematik.unikl.de>20100610 21:10:59+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 11:55:08+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

coeffs/longrat.cc
r740417 r2518db 160 160 * convert from a GMP integer 161 161 */ 162 number nlMapGMP(number from )162 number nlMapGMP(number from, const coeffs src, const coeffs dst) 163 163 { 164 164 number z=ALLOC_RNUMBER(); … … 176 176 * convert from an machine long 177 177 */ 178 number nlMapMachineInt(number from )178 number nlMapMachineInt(number from, const coeffs src, const coeffs dst) 179 179 { 180 180 number z=ALLOC_RNUMBER(); … … 1211 1211 * convert number i (from Q) to GMP and warn if denom != 1 1212 1212 */ 1213 void nlGMP(number &i, number n )1213 void nlGMP(number &i, number n, const coeffs r) 1214 1214 { 1215 1215 // Hier brauche ich einfach die GMP Zahl 1216 1216 nlTest(i, r); 1217 nlNormalize(i );1217 nlNormalize(i, r); 1218 1218 if (SR_HDL(i) & SR_INT) 1219 1219 {
Note: See TracChangeset
for help on using the changeset viewer.