On Mon, Nov 25, 2002 at 10:06:13AM -0800, Michael Lazzaro wrote:
: With clarifications, and additional syntactic edge cases.
:
: The last remaining known "numeric literals" issue is whether we want to
: allow '.' in explicit radix, e.g. 10#1.234, or whether we want to
: disallow it as being Way
On Mon, 2002-11-25 at 13:06, Michael Lazzaro wrote:
> 0x0 # ok, == 0
> 0x0.0 # ok
> 0x.0# ok
Given that .1 is wrong (from above), I would disallow it here simply for
consistency sakes.
> 0d1.1E5 # WRONG, exp not allowed in shorthand radix
>
> 0B0110
With clarifications, and additional syntactic edge cases.
The last remaining known "numeric literals" issue is whether we want to
allow '.' in explicit radix, e.g. 10#1.234, or whether we want to
disallow it as being Way Too Creepy. This version assumes that '.' is
allowed, but exponential not