[sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
Hello! I have discovered a strange (at least so it seems to me) behaviour of Sage. Here is the problem: I have a list of tuples of the following format: (2000, 289.4280) (2001, 289.5570) (2002, 289.6050) (2003, 289.6170)

Re: [sage-support] Low order digits from thin air

2011-12-12 Thread Laurent
I get the following strange result: (289.5750, 289.6170, -0.02800200) My question is: where do those low order digits come from? And how can I get rid of them? When you are performing numerical computations on a computer, you always have an imprecision due

Re: [sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
On Mon, 12 Dec 2011 04:42:19 -0800 (PST) Volker Braun vbraun.n...@gmail.com wrote: A good read is What Every Computer Scientist Should Know About Floating-Point Arithmetic: http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html Thank your for the advice. I'll take a look at it.