After some computations with algebraic numbers (as floats with high precision) I obtain a polynomial whose coefficients I know are integer but because the computations are done with floats, giac/xcas will show the coefficients with the decimals. I want to know what is the best way to convert this polynomial into an integral polynomial. As example:
I have the following polynomial:
Code : Tout sélectionner
0.30900000000000000000000000000000e3*x^6+0.11700000000000000000000000000000e4*x^5*y+0.47999999999999999999999999999999e2*x*y^2*z^3
Code : Tout sélectionner
309*x^6+1170*x^5*y+48*x*y^2*z^3
Jose