Author: lwall Date: 2009-06-02 21:28:12 +0200 (Tue, 02 Jun 2009) New Revision: 26990
Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] require failure when digits exceed radix Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-06-02 19:12:39 UTC (rev 26989) +++ docs/Perl6/Spec/S02-bits.pod 2009-06-02 19:28:12 UTC (rev 26990) @@ -12,8 +12,8 @@ Maintainer: Larry Wall <la...@wall.org> Date: 10 Aug 2004 - Last Modified: 23 May 2009 - Version: 169 + Last Modified: 2 Jun 2009 + Version: 170 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -2436,6 +2436,10 @@ :60[12,34,56] # 12 * 3600 + 34 * 60 + 56 :100[3,'.',14,16] # pi +All numbers representing digits must be less than the radix, or an +error will result (at compile time if constant-folding can catch it, +or at run time otherwise). + Any radix may include a fractional part. A dot is never ambiguous because you have to tell it where the number ends: