Bug 288354

Summary: Equation parser doesn't understand exponential notation
Product: [Applications] kst Reporter: D. V. Wiebe <dvw>
Component: equationsAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: netterfield
Priority: NOR    
Version: 2.0.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description D. V. Wiebe 2011-12-06 20:11:52 UTC
The equation parser doesn't understand numbers of the form "1.2e9" for the more longwinded (and easier-to-miss-one-of-those-zeroes) "1200000000".  (svn:1267396)
Comment 1 Netterfield 2012-02-29 00:53:19 UTC
Well... as a workaround for now, it does recognize 1e+4, 1E+4, 1e-4, and 1E-4.  Just not 1E4 or 1e4.
Comment 2 Netterfield 2012-05-25 18:38:18 UTC
SVN commit 1296680 by netterfield:

Fix the parser to recognise scientific notation of the form 3.0E3 in
addition to 3.0E+3


 M  +0 -1      enodes.cpp  
 M  +16 -17    escan.cpp  
 M  +1 -1      escan.l  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1296680