From: "Steven Lord" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Double Precision
Date: Wed, 25 Feb 2009 14:27:37 -0500
Organization: The MathWorks, Inc.
Lines: 32
Message-ID: <go4639$kgc$>
References: <go3gjt$lmh$> <PCdpl.23889$_U5.15720@newsfe20.iad> <go3pf1$7ik$> <go3qne$2sv$> <iAepl.29276$pX4.17109@newsfe08.iad>
Reply-To: "Steven Lord" <>
X-Trace: 1235590057 21004 (25 Feb 2009 19:27:37 GMT)
NNTP-Posting-Date: Wed, 25 Feb 2009 19:27:37 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: comp.soft-sys.matlab:520810

"Walter Roberson" <> wrote in message 
> Tim Love wrote:
>> "Hosein" <> 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 ?

As far as I am aware, MATLAB has always used double precision as default [or 
if there was a time when it didn't, it was a Long Time Ago.]  I don't think 
sufficiently old versions of MATLAB have single precision as a data type. 
If I remember correctly, single precision was included in MATLAB starting 
with version 5.0.

I think we'll need to see some code from the OP (Original Poster) before we 
can determine what they mean by "Double Precision".

Steve Lord