On Oct 3, 2005, at 1:09 PM, Joshua Hoblitt via RT wrote:
[EMAIL PROTECTED] - Tue Jun 29 05:14:34 2004]:
This is the latest version of the String PMC, complete with
iterators.
In my understanding, the default implementation of morph() would
check
if the new class number is the same as the
Leopold Toetsch wrote:
The Complex PMC arithmetic MMD vtables (add, subtract, divide) blindly
assume that the RHS argument C is complex too. This needs fixing
and tests.
Fixed, tested. (the tests were there, only commented out)
I only added implementations for MMD_Complex and MMD_DEFAULT. I suppo
Andy Dougherty wrote:
The Solaris compiler complained when classes/complex.c tried to return a
value from a void function. This patch assumes the function indeed is
intended to be void and no return value is needed.
You're right, it slipped.
We really need compiler flags to catch these.
Still, it
Scott Bronson wrote:
On Wed, 2004-06-30 at 00:14, Ion Alexandru Morega wrote:
... there are advantages in including
the source code:
- GMP's compilation process is aware of the machine's hardware,
making optimisations accordingly. It should be compiled along with
parrot,
I haven't read the LGPL carefully, but there is one point i'd like to make.
Scott Bronson wrote:
ASSUMPTION
Parrot will only link to the GMP library, right? Either static or
shared, doesn't matter.
It would certainly work that way, but there are advantages in including
the source code:
- We co
Dan Sugalski wrote:
<>Cool, go for it. I'd think that for the set_(integer|number) vtable
slots
we'd set the real part and make the imaginary part 0, while the string
version'd look for the "x + yi" version.
And have set_num_keyed set the real and the imaginary part (indexed as
strings, say "real
Jonathan Worthington wrote:
"Leopold Toetsch" <[EMAIL PROTECTED]> wrote:
1) Python has a complex builtin class. So we'll need one too.
* Create a complex PMC.
* Parse complex constants '4j'
j? I've always used i as the imaginary unit, though I believe j is used
more in engineering fields ('c
Leopold Toetsch wrote:
Ion Alexandru Morega <[EMAIL PROTECTED]> wrote:
... then i'll rewrite perlstring.pmc and possibly the other
perlscalar subclasses (derive them from Float, Integer, etc) if that's
needed.
I think, we should have
scalar
Integer
Boolean
PerlInt
Fl
Dan Sugalski wrote:
On Sun, 20 Jun 2004, Ion Alexandru Morega wrote:
Dan Sugalski wrote:
I checked in more of PDD 17, detailing parrot's base types. Some of
those types definitely don't exist (like, say, the string and bignum
type...) and could definitely use implementing. Should
Dan Sugalski wrote:
I checked in more of PDD 17, detailing parrot's base types. Some of
those types definitely don't exist (like, say, the string and bignum
type...) and could definitely use implementing. Should be fairly
straightforward, and would be a good way to get up to speed on writing
PM
10 matches
Mail list logo