Floating number output



On Wed, 2010-02-24 at 22:59 +0300, primus wrote:
> (float (/ 1 1000000)) 
> in CLISP, for example,
> then we have exact result 1.0E-6. 

to get a similar behavior in Maxima, change the value of fpprintprec:

(%i1) fpprintprec: 6$
(%i2) float(1/1000000);
(%o2) 10.e-7
(%i3) float(1/10000000000);
(%o3) 1.e-10
(%i4) float(1/100000000000000);
(%o4) 1.e-14

Regards,
Jaime