Author: lwall
Date: 2009-10-22 17:55:21 +0200 (Thu, 22 Oct 2009)
New Revision: 28881

Modified:
   docs/Perl6/Spec/S02-bits.pod
Log:
[S02] document desire to have decimal literals biased toward Rat storage


Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod        2009-10-22 15:31:38 UTC (rev 28880)
+++ docs/Perl6/Spec/S02-bits.pod        2009-10-22 15:55:21 UTC (rev 28881)
@@ -14,7 +14,7 @@
     Created: 10 Aug 2004
 
     Last Modified: 22 Oct 2009
-    Version: 184
+    Version: 185
 
 This document summarizes Apocalypse 2, which covers small-scale
 lexical items and typological issues.  (These Synopses also contain
@@ -2694,6 +2694,12 @@
 
     ((1 / 2) * 3) / 4
 
+Decimal fractions not using "e" notation are also stored as C<Rat> values:
+
+    6.02e23.WHAT     # Num
+    1.23456.WHAT     # Rat
+    1.1 == 11/100    # True
+
 =item *
 
 Complex literals are similarly indicated by writing an addition of

Reply via email to