Re: r29111 - docs/Perl6/Spec

2009-11-19 Thread Darren Duncan
Darren Duncan wrote: Moritz Lenz wrote: FatRat.new(45207196, 10**37); And note that a decimal-specific answer isn't what I want, since I want something that would also work for this: 45207196 * 11 ** -37 FatRat.new(45207196, 11**37); Solomon Foster wrote: What's your objection to Fat

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: 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

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

r29111 - docs/Perl6/Spec

2009-11-17 Thread pugs-commits
Author: lwall Date: 2009-11-17 18:43:12 +0100 (Tue, 17 Nov 2009) New Revision: 29111 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] more Rat and Ratio clarification Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/Perl6/Spe