Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)
- To: mathgroup at smc.vnet.net
- Subject: [mg80593] Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sun, 26 Aug 2007 23:07:00 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <fara85$4jd$1@smc.vnet.net>
Chris Chiasson 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 Here is what I got on my system after step 3: In[2]:= RealDigits[3.`*^-7] During evaluation of In[2]:= Syntax::sntxf: "3.*" cannot be followed \ by "^-7". During evaluation of In[2]:= Syntax::tsntxi: "^-7" is incomplete; \ more input is needed. During evaluation of In[2]:= Syntax::sntxi: Incomplete expression; \ more input is needed. In[2]:= $Version Out[2]= "6.0 for Microsoft Windows (32-bit) (June 19, 2007)" -- Jean-Marc