MathGroup Archive 2007

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

Search the Archive

Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80758] Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)
  • From: yatesd at mac.com
  • Date: Thu, 30 Aug 2007 23:52:28 -0400 (EDT)
  • References: <fara85$4jd$1@smc.vnet.net>

On Aug 26, 8:31 am, "Chris Chiasson" <ch... at chiasson.name> wrote:
> Can anyone confirm this report?
>
> Steps to reproduce:
> 1. Enter "3.`*^-7" (without quotation marks) into an Input cell and evaluate it.
> 2. Go back to the Input cell, put your cursor at the beginning and
> enter "RealDigits["
> 3. Hit the End key, type "]" and then re-evaluate the cell, which by
> now reads "RealDigits[3.`*^-7]", but don't enter that directly.
>
> I have encountered other errors where InputForm messes up the syntax
> checker, but I haven't been able to make a small reproducible example
> like this one.
>
> Version 6.0.1 on MS Windows XP SP2
>
> --http://chris.chiasson.name/

Works fine for me on a Mac. Have you tried RealDigits[3.*^-7] or
RealDigits[3`*^-7] ? Perhaps the parser is confused by having both the
period and the number mark as only one is needed. (Note that
InputForm[3`] -> 3.)

Regards,

Derek



  • Prev by Date: Re: Special characters in the axis label?
  • Next by Date: Re: Special characters in the axis label?
  • Previous by thread: Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)
  • Next by thread: Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)