Ophir LOJKINE 4a66eccedc Rewrite Lexer_getNumber.
Now, it computes the numbers with only basic arithmetic operations, without first creating a string and then calling parseFloat.
The new function doesn't behave exactly the same as the old one.
In particular, the old behaviour was that when there was a number immediatly followed by an 'E', the 'E' was consumed. Now it's not. It allows for "glued" numbers and operators.
Also, the new function is faster and consumes less memory.
2014-02-01 21:46:09 +01:00
..
2013-11-14 15:21:42 -08:00
2014-01-27 20:29:47 -06:00
2014-01-27 20:35:51 -06:00
2012-12-10 10:19:02 -08:00
2012-11-01 19:29:04 -05:00
2014-02-01 21:46:09 +01:00
2013-03-15 11:24:08 -07:00
2013-06-27 10:46:45 -07:00