Dan Sugalski wrote:
At 8:42 AM +0200 7/1/04, Leopold Toetsch wrote:
Probably. More a set_imaginary than set_compex, though. I don't think
that's needed as such for the benchmark, though. (And should it take a
BIGNUM or a NUMVAL?)
NUMVAL. But for now, I'm using strings, which works fine. Too less
At 8:42 AM +0200 7/1/04, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
And I'm now thinking that we want to do mmd for assignment. Dammit. :(
Don't think so. We need, ehem, probably, set_complex, get_complex and so
on vtables. Complex is a basic type like integer, number, or bignu
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> And I'm now thinking that we want to do mmd for assignment. Dammit. :(
Don't think so. We need, ehem, probably, set_complex, get_complex and so
on vtables. Complex is a basic type like integer, number, or bignum.
def main():
i = complex(2 + 1j)
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
On Mon, 28 Jun 2004, Ion Alexandru Morega wrote:
> 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
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" <[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 ('cus they use i for cu
1) Python has a complex builtin class. So we'll need one too.
* Create a complex PMC.
* Parse complex constants '4j'
* Put these constants into the PBC?
2) We need a *array.sort (NCI) method(s)
That's kind of a PITA: The fixed/resizable array PMCs don't
have push/pop/unshift/shift ..
On Thu, Apr 25, 2002 at 01:58:29PM -0400, Dan Sugalski wrote:
> 1) We need to have a set of 'new stack frame' ops that close out the
> current stack frames and start new ones. Should take an optional size
> that presizes the stacks.
> 3) The stack chunks need to be decoupled from the chunk hea
At 12:18 PM 4/28/2002 -0400, Dan Sugalski wrote:
>At 8:32 AM -0400 4/26/02, Melvin Smith wrote:
>>I might take a look at 3&4 this weekend if I can finish moving.
>
>I thought you were busy getting married and honeymooning and such? I do
>*not* want to be responsible for your SO having to find a c
At 3:55 PM -0700 4/28/02, Steve Fink wrote:
>On Sun, Apr 28, 2002 at 12:18:19PM -0400, Dan Sugalski wrote:
>> As for the closeout thing, what I'm thinking of is a way to say "This
>> stack frame is complete" and start a new frame, even if there's still
>> space left in the stack chunk. Doing th
On Sun, Apr 28, 2002 at 12:18:19PM -0400, Dan Sugalski wrote:
> As for the closeout thing, what I'm thinking of is a way to say "This
> stack frame is complete" and start a new frame, even if there's still
> space left in the stack chunk. Doing this makes continuations and
> co-routines easier.
At 8:32 AM -0400 4/26/02, Melvin Smith wrote:
>I might take a look at 3&4 this weekend if I can finish moving.
I thought you were busy getting married and honeymooning and such? I
do *not* want to be responsible for your SO having to find a
convenient place to dump your body... :)
>Concerning
TED]> To: [EMAIL PROTECTED]
cc:
04/25/2002 01:58 Subject: Some task
On Thu, Apr 25, 2002 at 01:58:29PM -0400, Dan Sugalski wrote:
> 2) We need a pure-integer stack
I volunteer Brent Dax for that one. Hey, he's done already! :-)
rxstacks.c has exactly that. It just needs a rename.
Hm. And maybe a memory management checkup.
Okay, here are a few tasks for the interested.
1) We need to have a set of 'new stack frame' ops that close out the
current stack frames and start new ones. Should take an optional size
that presizes the stacks.
2) We need a pure-integer stack
3) The stack chunks need to be decoupled from the
16 matches
Mail list logo