Re: Bug 1+4/10
- To: mathgroup at smc.vnet.net
- Subject: [mg120033] Re: Bug 1+4/10
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Wed, 6 Jul 2011 07:05:25 -0400 (EDT)
- References: <201107060940.FAA29406@smc.vnet.net>
Hi, please, before make a posting like that make sure you have understood the basics of how numbers are stored in a computer. You could have used the subject "unexpected behavior" and the body should have contained something like "I don't understand.." or "can someone explain...", but this is purely offensive so I won't comment it. Cheers Patrick On Jul 6, 2011, at 11:40 AM, slawek wrote: > Let check > > In[1]:= 1.4 == 1 + 4/10 > Out[1]= True > > In[2]:= a = SetPrecision[1.4, 30] > Out[2]= 1.39999999999999991118215802999 > > In[3]:= b = SetPrecision[1 + 4/10, 30] > Out[3]= 1.40000000000000000000000000000 > > No comment is needed. > > slawek > > >
- References:
- Bug 1+4/10
- From: "slawek" <slawek@host.pl>
- Bug 1+4/10