realroots



The problem that you have encountered is that 1.0e-45 is 0.0. 
The returned expression from the parser has already lost the value, and 
so nothing else can recover it.
RJF


Barton Willis wrote:

>Maybe realroots should  reject polynomials with floating point
>coefficients, or it should first convert any  floats to  rationals?
>
>(%i36) realroots (x^2 + 1.0e-45, 1.0b-10);
>(%o36) [x=0]
>(%i37) realroots (x^2 + 1/10^45, 1.0b-10);
>[]
>
>Barton
>_______________________________________________
>Maxima mailing list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
>  
>