Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Double Precision
Date: Thu, 26 Feb 2009 20:46:02 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 17
Message-ID: <go6v29$4ub$1@fred.mathworks.com>
References: <go3gjt$lmh$1@fred.mathworks.com> <PCdpl.23889$_U5.15720@newsfe20.iad> <go3pf1$7ik$1@fred.mathworks.com> <go3qne$2sv$1@gemini.csx.cam.ac.uk> <iAepl.29276$pX4.17109@newsfe08.iad>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235681162 5067 172.30.248.35 (26 Feb 2009 20:46:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 26 Feb 2009 20:46:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:521145

Walter Roberson <roberson@hushmail.com> wrote in message <iAepl.29276$pX4.17109@newsfe08.iad>...
> Tim Love wrote:
> > "Hosein" <Kalaeimh@yahoo.com> writes:
> > 
> >> I am working with very small numbers and it is important to include all digits in all operations.
> > By default, matlab uses double precision. Maybe you just need to look up the 
> > format command?
> 
> Correct for sufficiently new versions of Matlab; if I recall correctly, Roger's version
> still defaults to single precision. Maybe there's a "Double Precision" command that is
> so obsolete that I've simply never heard of it ?

No, Roger's version does not default to single.
In fact, it was only a somewhat recent advance
that single was even an option asa data type.

John