From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Very weird resolution issue. Bug ????? Seriously !!
Date: Wed, 04 Mar 2009 12:34:59 -0600
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <gomhn6$91j$1@aioe.org>
References: <goju5b$nv4$1@fred.mathworks.com>
NNTP-Posting-Host: Zx/1j5xW03cZtia5K2JN8A.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
NNTP-Posting-Date: Wed, 4 Mar 2009 18:36:26 +0000 (UTC)
X-Notice: Filtered by postfilter v. 0.7.7
Cancel-Lock: sha1:QLRjm5Si0SRUkyy94YiEIibE47o=
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
Path: news.mathworks.com!newsfeed-00.mathworks.com!oleane.net!oleane!feed.ac-versailles.fr!gegeweb.org!aioe.org!not-for-mail
Xref: news.mathworks.com comp.soft-sys.matlab:522530

Sung Soo Kim wrote:
> % Run the following code. It must produce '1' as an answer.
> % In R14SP3 it works fine. (It spit out '1')
> % In R2008b, it doesn't work. (It spit out '0')
> ...floating point computation precision/optimization/etc. example
> elided for brevity...

In addition to the comments of Roger and Peter, I'd point you to

<http://docs.sun.com/source/806-3568/ncg_goldberg.html>

Widely-recommended reading, "What Every Computer Scientist Should Know 
About Floating-Point Arithmetic"

--