MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Interpreting InputForm[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27533] Re: Interpreting InputForm[]
  • From: "mvyver" <mvdv at bigfoot.com>
  • Date: Sat, 3 Mar 2001 03:40:14 -0500 (EST)
  • Organization: The University of Western Australia
  • References: <972g3o$4j6@smc.vnet.net> <97501t$6k0@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks for that Allan,
That makes some sense though it is annoying when you are outputting results
so that they can be readily read back AND transferred between other
applications.  Especially since to input a number you don't have to specify
the Precision separately.
I'll have to choose another format to use.

Cheers
Mark V


"Allan Hayes" <hay at haystack.demon.co.uk> wrote in message
news:97501t$6k0 at smc.vnet.net...
> Mark,
>
> InputForm is showing you the precision of the number
>
> nmb=0.000000000000000000000100000000000001000000000000001 (*1*)
>
> InputForm[nmb]
>
>     1.000000000000010000000000000009999999999795596`29.301*^-22
>
> If you select the cell containing the output from (*1*) and look at the
cell
> expression  -- menu > Format > Show Expression -- you will see that the
> information is there already.
>
> If we ask for its precision we get a rounded version
>
> Precision[nmb]
>
>         29
>
> but we can see the raw version:
>
> Precision[nmb, Round ->False]
>
>         29.301
>
> This sort of thing is explained in
>
> Help Browser > Getting Started/Demos > Demos > Numerics Report
>
> --
> Allan
> ---------------------
> Allan Hayes
> Mathematica Training and Consulting
> Leicester UK
> www.haystack.demon.co.uk
> hay at haystack.demon.co.uk
> Voice: +44 (0)116 271 4198
> Fax: +44 (0)870 164 0565
>
> "mvyver" <mvdv at bigfoot.com> wrote in message
news:972g3o$4j6 at smc.vnet.net...
> > Hi,
> >
> > Can anyone shed light on the following output:
> >
> > In: InputForm[0.000000000000000000000100000000000001000000000000001]
> > Out: 1.000000000000010000000000000009999999999981109`29.301*^-22
> >
> > Specifically the `29.301 has me confused.
> >
> > Thanks in advance.
> >
> > Mark Van De Vyver
> >
> >
> >
>
>
>




  • Prev by Date: Re: Troubles saving as *.m
  • Next by Date: Re: Filled Ellipsoid
  • Previous by thread: problem
  • Next by thread: notebook question