Bug 288354 - Equation parser doesn't understand exponential notation
Summary: Equation parser doesn't understand exponential notation
Alias: None
Product: kst
Classification: Applications
Component: equations (show other bugs)
Version: 2.0.4
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
Depends on:
Reported: 2011-12-06 20:11 UTC by D. V. Wiebe
Modified: 2012-05-25 18:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
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