Re: r29129 - docs/Perl6/Spec

2009-11-18 Thread Darren Duncan
pugs-comm...@feather.perl6.nl wrote: Author: lwall Date: 2009-11-19 05:34:29 +0100 (Thu, 19 Nov 2009) New Revision: 29129 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] as several folks have suggested, rename "blorst" to "blast" Modified: docs/Perl6/Spec/S04-control.pod ==

r29129 - docs/Perl6/Spec

2009-11-18 Thread pugs-commits
Author: lwall Date: 2009-11-19 05:34:29 +0100 (Thu, 19 Nov 2009) New Revision: 29129 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] as several folks have suggested, rename "blorst" to "blast" Modified: docs/Perl6/Spec/S04-control.pod =

Re: r29111 - docs/Perl6/Spec

2009-11-18 Thread Darren Duncan
Moritz Lenz wrote: On Wed, Nov 18, 2009 at 12:33:35AM -0800, Darren Duncan wrote: For example, say I want the following expression to result in a FatRat because presumably that's the only type which will represent the result value exactly: 45207196 * 10 ** -37 How should that be spelled ou

Re: r29111 - docs/Perl6/Spec

2009-11-18 Thread Jon Lang
Moritz Lenz wrote: >> Given the above, if one wants to construct a full-precision rational >> value in terms of 3 Int values analogous to a mantissa and radix and >> exponent, what is the best way to write it in Perl 6? >> >> For example, say I want the following expression to result in a FatRat >>

Re: r29121 - docs/Perl6/Spec

2009-11-18 Thread Larry Wall
On Wed, Nov 18, 2009 at 03:08:59AM -0800, Ron wrote: : > +Although most rational implementations normalize or "reduce" fractions : > +to their smallest representation immediately through a gcd algorithm, : > +Perl allows a rational datatype to do so lazily at need, such as : > +whenever the denomin

r29128 - docs/Perl6/Spec

2009-11-18 Thread pugs-commits
Author: lwall Date: 2009-11-18 19:51:35 +0100 (Wed, 18 Nov 2009) New Revision: 29128 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] more Rat-to-Str fine-tuning wrt negative denominators Modified: docs/Perl6/Spec/S02-bits.pod =

Rat.perl (was: [pugs-commits] r29121 - docs/Perl6/Spec)

2009-11-18 Thread Moritz Lenz
pugs-comm...@feather.perl6.nl wrote: > +The C<.perl> method will produce a decimal number if the denominator is > +a multiple of 10. Otherwise it will normalize and return a rational > +literal of the form -47/3. Did you mean "a power of 10" instead? I can't see how it makes sense right now. Thi

r29127 - docs/Perl6/Spec

2009-11-18 Thread pugs-commits
Author: lwall Date: 2009-11-18 19:05:37 +0100 (Wed, 18 Nov 2009) New Revision: 29127 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] correction from ron.koerner++ on s/multiple/power/ adopt 2's and 5's factoring as normative for both .Str and .perl of Rats Modified: docs/Perl6/Spec/S02-bits

[perl #70606] tests available

2009-11-18 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S05-mass/rx.t commit 0c6786e793e5337b073dcbeb1b4b4c0f087429c9 Author: kyle Date: Wed Nov 18 18:00:56 2009 + [t/spec] Test for RT 70606: null pattern after alternation git-svn-id: http

[perl #70596] tests available

2009-11-18 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-num/abs.t commit d84b6665b07d17de1c196feeac3380bb686172b6 Author: kyle Date: Wed Nov 18 18:00:50 2009 + [t/spec] Test for RT 70596: parsing of abs(1).WHAT git-svn-id: http://svn.p

Re: r29121 - docs/Perl6/Spec

2009-11-18 Thread Ron
> +Although most rational implementations normalize or "reduce" fractions > +to their smallest representation immediately through a gcd algorithm, > +Perl allows a rational datatype to do so lazily at need, such as > +whenever the denominator would run out of precision, but avoid the > +overhead ot

[perl #70600] [BUG] Rakudo gets confused when the exponent in scientific notation is large enough

2009-11-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #70600] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=70600 > rakudo: say 0e999 # masak rakudo 7347ec: undefined identifier 'NaN' [...] ng:

Re: r29111 - docs/Perl6/Spec

2009-11-18 Thread Moritz Lenz
On Wed, Nov 18, 2009 at 12:33:35AM -0800, Darren Duncan wrote: > Acknowledging that 'FatRat' is current name for above 'Ratio' ... > > pugs-comm...@feather.perl6.nl wrote: >> -For applications that really need arbitrary precision denominators >> -as well as numerators, C may be used, which is defin

[perl #70606] [BUG] Null PMC access on a regex with a final infix:<|> followed by whitespace in Rakudo

2009-11-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #70606] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=70606 > rakudo: "b" ~~ /b| / rakudo 7347ec: Null PMC access in find_method('reduce') [...] * m

[perl #70596] [BUG] abs(412).WHAT is parsed the wrong way in Rakudo

2009-11-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #70596] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=70596 > rakudo: say (abs(412).WHAT) # here's one for you, masak rakudo 7347ec: Use of type obj

Re: r29111 - docs/Perl6/Spec

2009-11-18 Thread Solomon Foster
On Wed, Nov 18, 2009 at 3:33 AM, Darren Duncan wrote: > Acknowledging that 'FatRat' is current name for above 'Ratio' ... > > pugs-comm...@feather.perl6.nl wrote: >> >> -For applications that really need arbitrary precision denominators >> -as well as numerators, C may be used, which is defined as

Re: r29111 - docs/Perl6/Spec

2009-11-18 Thread Darren Duncan
Acknowledging that 'FatRat' is current name for above 'Ratio' ... pugs-comm...@feather.perl6.nl wrote: -For applications that really need arbitrary precision denominators -as well as numerators, C may be used, which is defined as C. +For applications that really need arbitrary precision denomina