marcW wrote:
> hi,
> I'm new at this, some experience with mathematica.
> I spent the better part of 2 days trying to find out why
> f= a*x
> g=f.subs({a:0.6}]
> show(g)
> 
> produces so many zeroes.lol. It's laughable.
> I've never seen something like this.
> It shouldn't be complicated to get rid of these zeros right?
> 


It's to show the true precision of the number.  0.6 is a 53-bit 
precision number, so the zeroes indicate that.

Note the difference between a 10-bit precision number and a 100-bit 
precision number:

sage: RealField(100)(0.6)
0.60000000000000000000000000000
sage: RealField(10)(0.6)
0.60

Maybe there should be an option to not show the precision using the 
zeroes?  In general, I think showing the precision is a good idea.

Thanks,

Jason


-- 
Jason Grout

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to