On 12/8/05 at 12:04 AM, hattons at globalsymmetry.com (Steven T.
Hatton) wrote:
>Jean-Marc Gulliet wrote:
>>In[16]:= l = FixedPointList[Cos, 1.];
>>In[17]:= NumberForm[l, Floor[$MachinePrecision] + 1]
>This is from the commandline UI:
>In[1]:= Information[$MachinePrecision] $MachinePrecision gives the
>number of decimal digits of precision used for
>machine-precision numbers.
>Attributes[$MachinePrecision] = {Protected}
>$MachinePrecision = 15.954589770191003
>Interestingly, I get a different result in the FrontEnd:
>$MachinePrecision=15.9546
This is not a different result. It is the same result displayed differently, i.e.,
In[37]:=FullForm[$MachinePrecision]
Out[37]:=15.954589770191003`
By default, Mathematica displays only the first 6 digits of machine precision numbers.
--
To reply via email subtract one hundred and four