Re: Numeric Literals (Summary 4)

[email protected] (Andrew Wilson) Mon, 25 Nov 2002 17:29:25 +0000
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
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 
> underscores can only separate digits, underscores are not allowed at 
> all in coloned form, no matter what the base.
> 
> (Umm... what's a better name than "coloned form"?  That term sounds 
> really... um... bad.)

I would say colon form sounds fine.  Although to be honest, I think
Prefer CSD (Colon Separated Digits).

andrew
-- 
Libra: (Sept. 23 - Oct. 23)
Someday, you'll look back on all of this and laugh very, very bitterly.
signature.asc (application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE94l314x3z39L355MRAvb4AJkB9q+JiGNldzoNdenuv7ARiOzD0ACeKOCC
y4aISEGlVSEj0IyYyqdvPjk=
=CUn6
-----END PGP SIGNATURE-----