Re: Large integers, ** and Int

2010-08-18 Thread Solomon Foster
On Tue, Aug 17, 2010 at 6:49 PM, Aaron Sherman a...@ajs.com wrote: On Tue, Aug 17, 2010 at 6:48 PM, Aaron Sherman a...@ajs.com wrote: On Tue, Aug 17, 2010 at 11:51 AM, Moritz Lenz mor...@faui2k3.org wrote: Aaron Sherman wrote: I did eventually discover that I needed to do this. The problem

Re: Large integers, ** and Int

2010-08-17 Thread Aaron Sherman
Re-sending my message which went to parrot-dev, and should have gone to perl6-compiler. Sorry. On Tue, Aug 17, 2010 at 6:48 PM, Aaron Sherman a...@ajs.com wrote: On Tue, Aug 17, 2010 at 11:51 AM, Moritz Lenz mor...@faui2k3.org wrote: Aaron Sherman wrote: I did eventually discover that I

Re: Large integers, ** and Int

2010-08-15 Thread Aaron Sherman
., Parrot's BigInt PMC) whenever the values are outside of a native int. Handling large integers is only the start of what modern multi-precision integers are there for. Really, what they're becoming is high performance math libraries, sans the typical arbitrary limitations of native ints

Re: Large integers, ** and Int

2010-08-15 Thread Darren Duncan
Patrick R. Michaud wrote: On Fri, Aug 13, 2010 at 11:08:30AM -0400, Aaron Sherman wrote: On Thu, Aug 12, 2010 at 3:48 PM, Darren Duncan dar...@darrenduncan.netwrote: What is the difference between Parrot bignums and gmp? Could Parrot not just use gmp to implement its bignums? -- Darren

Re: Large integers, ** and Int

2010-08-14 Thread Patrick R. Michaud
On Fri, Aug 13, 2010 at 11:08:30AM -0400, Aaron Sherman wrote: On Thu, Aug 12, 2010 at 3:48 PM, Darren Duncan dar...@darrenduncan.netwrote: What is the difference between Parrot bignums and gmp? Could Parrot not just use gmp to implement its bignums? -- Darren Duncan Parrot does

Re: Large integers, ** and Int

2010-08-13 Thread Aaron Sherman
On Thu, Aug 12, 2010 at 3:48 PM, Darren Duncan dar...@darrenduncan.netwrote: What is the difference between Parrot bignums and gmp? Could Parrot not just use gmp to implement its bignums? -- Darren Duncan Parrot does use GMP. What we're discussing is how appropriate those are for Perl 6.

Re: Large integers, ** and Int

2010-08-12 Thread Aaron Sherman
On Wed, Aug 11, 2010 at 12:50 PM, Patrick R. Michaud pmich...@pobox.comwrote: On Tue, Aug 10, 2010 at 08:44:06PM -0400, Aaron Sherman wrote: Is this an interim limitation, or something that's intended as a long-term implementation for Rakudo? It's an interim limitation, but I don't

Re: Large integers, ** and Int

2010-08-12 Thread Darren Duncan
Patrick R. Michaud wrote: On Wed, Aug 11, 2010 at 10:31:06PM -0400, Aaron Sherman wrote: My guess is that Rakudo will ultimately develop its own arbitrary-precision integer representation, rather than trying to use the BigInt that comes with Parrot. Also, IIRC, Parrot's BigInt

Re: Large integers, ** and Int

2010-08-11 Thread Aaron Sherman
On Tue, Aug 10, 2010 at 10:39 AM, Moritz Lenz mor...@faui2k3.org wrote: Am 10.08.2010 01:11, schrieb Aaron Sherman: I've been running into all sorts of problems trying to take S02 at its word that Int supports arbitrary precision. It *sort of* does. It does in Perl 6, but not in Rakudo

Re: Large integers, ** and Int

2010-08-11 Thread Patrick R. Michaud
On Tue, Aug 10, 2010 at 08:44:06PM -0400, Aaron Sherman wrote: On Tue, Aug 10, 2010 at 10:39 AM, Moritz Lenz mor...@faui2k3.org wrote: Am 10.08.2010 01:11, schrieb Aaron Sherman: I've been running into all sorts of problems trying to take S02 at its word that Int supports arbitrary

Large integers, ** and Int

2010-08-10 Thread Aaron Sherman
I've been running into all sorts of problems trying to take S02 at its word that Int supports arbitrary precision. It *sort of* does. But there are the edge cases where it doesn't. This might just be something that's not there yet, and I understand, but I thought I should report it. If

Re: Large integers, ** and Int

2010-08-10 Thread Moritz Lenz
Am 10.08.2010 01:11, schrieb Aaron Sherman: I've been running into all sorts of problems trying to take S02 at its word that Int supports arbitrary precision. It *sort of* does. It does in Perl 6, but not in Rakudo (known limitation). Moritz