[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Probably bug in implementation of numerical constant parsing
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 17 Sep 2012 16:33:59 -0300
> ...is "3." a valid number? O.o
Sure. That is the whole problem...
print(3. , .5) --> 3 0.5
print(3. .. .5) --> 30.5
(Many current languages accept this format: C, Perl, Python, Lua, Scheme,
etc.)
-- Roberto