Re: Numeric Literals (Summary 4)

2002-11-26 Thread Dave Storrs
On Mon, Nov 25, 2002 at 09:01:36AM -0800, Michael Lazzaro wrote: > (Umm... what's a better name than "coloned form"? That term sounds > really... um... bad.) How about: - explicit radix - dotted notation - DSD (Dot Separated Digits) --Dks

Re: Numeric Literals (Summary 4)

2002-11-25 Thread Andrew Wilson
On Mon, Nov 25, 2002 at 09:01:36AM -0800, Michael Lazzaro wrote: >>> 256#0_253_254_255 # base 256, NOT identical! >> >> is actually not allowed, no? > > Correct. It's an error, because radix > 36 mandates coloned form, and > the colon-form digit 253254255 cannot exist in base 256. AND since

Re: Numeric Literals (Summary 4)

2002-11-25 Thread Michael Lazzaro
On Friday, November 22, 2002, at 03:31 AM, Anton Berezin wrote: This: - radix > 36, only colon form is allowed, not alpha digits implies that this: 256#0_253_254_255 # base 256, NOT identical! is actually not allowed, no? Correct. It's an error, because radix > 36 mandates coloned

Re: Numeric Literals (Summary 4)

2002-11-23 Thread Anton Berezin
On Thu, Nov 21, 2002 at 01:02:57PM -0800, Michael Lazzaro wrote: This: > - radix > 36, only colon form is allowed, not alpha digits implies that this: > 256#0_253_254_255 # base 256, NOT identical! is actually not allowed, no? %Anton. -- | Anton Berezin| FreeBSD: The

Re: Numeric Literals (Summary 4)

2002-11-22 Thread Michael Lazzaro
On Friday, November 22, 2002, at 03:31 AM, Anton Berezin wrote: This: - radix > 36, only colon form is allowed, not alpha digits implies that this: 256#0_253_254_255 # base 256, NOT identical! is actually not allowed, no? Ick, good point. In theory, the second of those was suppose

Re: Numeric Literals (Summary 4)

2002-11-22 Thread Michael Lazzaro
On Thursday, November 21, 2002, at 04:41 PM, Andrew Wilson wrote: On Thu, Nov 21, 2002 at 01:02:57PM -0800, Michael Lazzaro wrote: _01.23 # wrong 01.23_ # wrong Is _ not space eater, or was that not decided? If it is then aren't these two just literals with space eaters. Y

Re: Numeric Literals (Summary 4)

2002-11-21 Thread Andrew Wilson
On Thu, Nov 21, 2002 at 01:02:57PM -0800, Michael Lazzaro wrote: >_01.23 # wrong >01.23_ # wrong Is _ not space eater, or was that not decided? If it is then aren't these two just literals with space eaters. andrew -- Capricorn: (Dec. 22 - Jan. 19) You will soon be unwillingly

Numeric Literals (Summary 4)

2002-11-21 Thread Michael Lazzaro
With the very latest corrections. 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. Am I missing anything else, or is this part done? --- Numeric Literals --- decimal