
17 Nov
2010
17 Nov
'10
1:25 p.m.
On 11/17/10 02:33, Yitzchak Gale wrote:
I doubt anyone relies on the current behaviour, and I think it's just an oversight (i.e. bug) in the language definition anyway.
The current behavior is consistent with the behavior of just about every other popular programming language.
C strtol() has the behavior Ian proposed, FWIW. (it parses 1.2 yielding the value equal to 1 and the location starting at the beginning of ".2".) -Isaac