Path: news.mathworks.com!not-for-mail
From: "Michael Hui" <myhui@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fixed-Point Toolbox : ProductWordLength
Date: Fri, 18 Jul 2008 19:19:02 +0000 (UTC)
Organization: Broadcom Corp
Lines: 9
Message-ID: <g5qqb6$ovm$1@fred.mathworks.com>
References: <g5ol12$nrp$1@fred.mathworks.com> <g5pv9g$1vn$1@fred.mathworks.com> <g5qmha$efg$1@fred.mathworks.com> <g5qpf2$gh7$1@fred.mathworks.com>
Reply-To: "Michael Hui" <myhui@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216408742 25590 172.30.248.37 (18 Jul 2008 19:19:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 18 Jul 2008 19:19:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1388863
Xref: news.mathworks.com comp.soft-sys.matlab:480352



Ooops ... the overflow detection does work.

>> D = fi(0, true, 3, 0);
>> D(:)=A*B
Warning: 1 overflow occurred in the fi assignment operation.

I forgot to set

P.LoggingMode = 'on';