Done in r31684 after MMD changes, adding the test from the previous patch.
On Mon, Oct 22, 2007 at 2:24 PM, via RT Paul Cochrane
<[EMAIL PROTECTED]> wrote:
> "TODO mul"
The attached patch is a simple implementation using
mul and adds the operation in the multiply test in
complex.t (don't know if it's the correct place).
--
Salu2
Index: src/pmc/integer.pmc
===
is means that multiplication of integers by complex numbers needs to be
implemented.
Ion Alexandru Morega <[EMAIL PROTECTED]> wrote:
> This is the new classes/complex.pmc, tests included. It supports string
> parsing (in the form "a + bi", see the docs for more), string-keyed
> access to "real" and "imag" and simple numerical operations.
Whee, great, thaks - applied.
> ... Howev
# New Ticket Created by Ion Alexandru Morega
# Please include the string: [perl #30534]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=30534 >
This is the new classes/complex.pmc, tests included. It supports string
pars
t/classes/complex.pmc 2004-06-29 22:01:57.0 +0300
@@ -0,0 +1,632 @@
+/*
+Copyright: 2003 The Perl Foundation. All Rights Reserved.
+$Id: string.pmc,v 1.0 2004/06/21 20:31:57 alexm Exp $
+
+=head1 NAME
+
+classes/complex.pmc - Complex Numbers PMC Class
+
+=head1 DESCRIPTION
+
+C provides a represe
Boris Tschirschwitz:
> unneccessary overhead at this point, so I let it sleep. But if there's
> interest, I'll happyly submit the files.
There's interest! :) I'd love to see this.
--
"The C Programming Language -- A language which combines the power of
assembly language with the flexibility of
Hi.
During the vtable discussions lately, a complex type was used in examples
a lot. I have a more or less complete implementation of a complex number
PMC. After writing it, I started wondering, if this wouldn't just be
unneccessary overhead at this point, so I let it sleep. But if there's
intere