2010/2/12 <csrabak@bol.com.br>:
Except if my analytical skills are impaired by being tired and groggy due a very short sleep I think the solution to this is only a matter of putting:
sourceStream peekFor: $+.
just before eneg := sourceStream peekFor: $-. in SqNumberParser>>readExponent
Did I miss something fundamental?
my 0.01999. . . .
-- Cesar Rabak
Yes, it's trivial. It's already implemented in the DolphinNumberParser, because Dolphin syntax allow 1.0e+2 In st-80 and current squeak, this rather means 1.0 e + 2 (send #e to 1.0 then send #+ with argument 2 to the result) Other features are not so hard either. We have to measure all the consequences then just decide what is worth. Nicolas
Em 12/02/2010 11:44, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu: in pharo too ;(
Sef On Feb 12, 2010, at 12:44 PM, K. K. Subramaniam wrote:
On Friday 12 February 2010 02:40:36 pm John M McIntosh wrote:
'1.0e+2' Â asNumber returns 1.0 Squeak (Trunk) shows: '1.0e2' asNumber 100 '1.0e+2' asNumber 1.0
:-/ Â .. Subbu
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project