Re: sqrt

2004-04-27 Thread Peter Behroozi
On Tue, 2004-04-27 at 22:29, Matt Fowles wrote: > All~ > > Perhaps it is just the mathematician in me speaking, but I think that a > sqrt op might be superfluous and could be replaced with exp as sqrt(x) > == exp(x,0.5). I cannot say anything about numerical stability of > precision, though, s

Re: Passing Arrays of Structs to NCI Subs

2004-04-27 Thread chromatic
On Tue, 2004-04-20 at 02:13, Leopold Toetsch wrote: > Can you provide some test code (s. t/pmc/nci.t and src/nci_test.c) for > signatures similar to the real: > > extern DECLSPEC void SDLCALL SDL_UpdateRects > > (SDL_Surface *screen, int numrects, SDL_Rect *rects); No problem. F

Re: [perl #29200] [NCI Feature Request] Handle Out Parameters

2004-04-27 Thread chromatic
On Mon, 2004-04-26 at 23:15, Leopold Toetsch wrote: > > Per my reading of the NCI PDD and the code, this isn't yet supported. > > Then the POD is missing some items: > > ,--[ src/call_list.txt ] > | # 2 - pointer to short > | # 3 - pointer to int > | # 4 - pointer to long > `

Re: sqrt

2004-04-27 Thread Matt Fowles
All~ Perhaps it is just the mathematician in me speaking, but I think that a sqrt op might be superfluous and could be replaced with exp as sqrt(x) == exp(x,0.5). I cannot say anything about numerical stability of precision, though, so feel free to shoot me down. Matt Dan Sugalski wrote: At 4:

Re: Cygwin build failing for some time

2004-04-27 Thread George R
I think the Cygwin port for using static libraries has to be finished for ICU. The current ICU CVS snapshot should be better suited for static libraries, but it's not completed yet. Help is always appreciated on this matter. You could try to set CPPFLAGS=-DU_STATIC_IMPLEMENTATION before you r

Patch: don't build docs for .*.ops

2004-04-27 Thread Aaron Sherman
See attached patch which prevents the docs/Makefile from including invalid targets that just happen to be editor temp files (emacs temp files have a "#" character which really boggles make). -- Aaron Sherman <[EMAIL PROTECTED]> Senior Systems Engineer and Toolsmith "It's the sound of a satellite

Re: md5sum, in parrot

2004-04-27 Thread Nick Glencross
Jens Rieks wrote: Hi! On Tuesday 27 April 2004 16:58, Nick Glencross wrote: for fun I've written md5sum using IMCC, and have attached my first cut. Cool :-) Should we add it as a library? That should be easy, shouldn't it? I'll have a go at devising some tests too. If anyone can let me k

Re: md5sum, in parrot

2004-04-27 Thread Jens Rieks
Hi! On Tuesday 27 April 2004 16:58, Nick Glencross wrote: > for fun I've written md5sum using IMCC, and have attached my first cut. Cool :-) Should we add it as a library? jens

Re: md5sum, in parrot

2004-04-27 Thread Nick Glencross
Leopold Toetsch wrote: Nick Glencross <[EMAIL PROTECTED]> wrote: * Results from i386 JIT can be corrupt and needs investigating (lots of FFs) Fixed. leo Fixed before I even got to look at it. You're brilliant, thanks, Nick

Re: [Q1] (Re: The strings design document)

2004-04-27 Thread Jarkko Hietaniemi
Dan Sugalski wrote: > At 7:57 PM +0300 4/27/04, Jarkko Hietaniemi wrote: > >> > 1) ISO-8859-1 is used to represent text in several different languages, >> >>> including German and Swedish. German and Swedish differ in their sort >>> order, even for things they have in common. (For example, ö >>> (

Re: [Q1] (Re: The strings design document)

2004-04-27 Thread Dan Sugalski
At 7:57 PM +0300 4/27/04, Jarkko Hietaniemi wrote: > 1) ISO-8859-1 is used to represent text in several different languages, including German and Swedish. German and Swedish differ in their sort order, even for things they have in common. (For example, ö (o-with-diaeresis) is considered a separ

Re: [Q1] (Re: The strings design document)

2004-04-27 Thread Dan Sugalski
At 9:40 AM -0700 4/27/04, Jeff Clites wrote: On Apr 23, 2004, at 2:43 PM, Dan Sugalski wrote: CHARACTER SET - Contains meta-information about code points. This includes both the meaning of individual code points (65 is capital A, 776 is a combining diaresis) as

Re: One change to the strings document

2004-04-27 Thread Dan Sugalski
At 9:41 AM -0700 4/27/04, Jeff Clites wrote: On Apr 27, 2004, at 6:57 AM, Dan Sugalski wrote: So, are we otherwise set on the plan, such that it can be implemented and we can work on some of the parts that haven't been specified? I have several questions/comments/concerns, and I'm splitting them

Re: md5sum, in parrot

2004-04-27 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > * Results from i386 JIT can be corrupt and needs investigating (lots > of FFs) Fixed. leo

Re: Cygwin build failing for some time

2004-04-27 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Ok, after much gnashing of teeth, I have made *some* progress: 1. Start as clean as possible A. cd /parrot B. make realclean C. cvs update -dP 2. Begin rain dance A. modify config/gen/icu.pl (remove --disable-dynamic) $icuconfigureargs = "--disable-layout

Re: [Q1] (Re: The strings design document)

2004-04-27 Thread Larry Wall
I can't answer for Dan regarding implementation issues, but from a (computer) language point of view, consistency is better than correctness on this issue, because there is no single definition of "correct" until you specify what you mean by "correct". So at the first three Unicode support levels

Re: md5sum, in parrot

2004-04-27 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > for fun I've written md5sum using IMCC, and have attached my first cut. Wow. > * Results from i386 JIT can be corrupt and needs investigating (lots > of FFs) Yep. Seems to be a problem with this line in swap: $I13 = $I13 >>> 24 i.e. JITed lsr

Re: [Q1] (Re: The strings design document)

2004-04-27 Thread Jarkko Hietaniemi
> 1) ISO-8859-1 is used to represent text in several different languages, > including German and Swedish. German and Swedish differ in their sort > order, even for things they have in common. (For example, ö > (o-with-diaeresis) is considered a separate letter in Swedish, but is > just a accent

Re: One change to the strings document

2004-04-27 Thread Jeff Clites
On Apr 27, 2004, at 6:57 AM, Dan Sugalski wrote: So, are we otherwise set on the plan, such that it can be implemented and we can work on some of the parts that haven't been specified? I have several questions/comments/concerns, and I'm splitting them up into bite-sized pieces. I've just sent out

[Q1] (Re: The strings design document)

2004-04-27 Thread Jeff Clites
On Apr 23, 2004, at 2:43 PM, Dan Sugalski wrote: CHARACTER SET - Contains meta-information about code points. This includes both the meaning of individual code points (65 is capital A, 776 is a combining diaresis) as well as a set of categorizations o

Re: sqrt

2004-04-27 Thread Dan Sugalski
At 4:50 PM +0200 4/27/04, Stefan Lidman wrote: >Everything is right, except... you forgot either the -c or -u switch for the diff. (And no, I don't know why the default output from diffs is mostly useless. Just one of those things, I expect) ok resend with -u switch. And it's in. Thanks! --

[PATCH] No $< in non-inference rules for nmake

2004-04-27 Thread Ron Blaschke
Hi, nmake doesn't accept $< in non-inference rules. The attached patch fixes this for the generated pmc rules. Regards, Ron no_dollar_slash_in_pmc_rules.patch Description: Attached file: no_dollar_slash_in_pmc_rules.patch

Re: sqrt

2004-04-27 Thread Stefan Lidman
>Everything is right, except... you forgot either the -c or -u switch >for the diff. (And no, I don't know why the default output from diffs >is mostly useless. Just one of those things, I expect) ok resend with -u switch. /Stefan Index: ops/math.ops ===

Test result on win32 with 2 failures

2004-04-27 Thread Ron Blaschke
Hi, Here's a first tentative test result on win32, with VC 7.1 and nmake, ICU 2.8 (win32 binary build). Is any of this unexpected? i386 JIT CPU .dll SO extension # Failed test (t\pmc\perlnum.t at line 690) # got: '0 # 0.00 # ' # expected: '0 # -0.00 # ' # Looks like you f

Re: One change to the strings document

2004-04-27 Thread Dan Sugalski
At 4:07 PM +0200 4/27/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: So, are we otherwise set on the plan, such that it can be implemented and we can work on some of the parts that haven't been specified? Some syntax glue for PASM/PIR is needed. How do I specify enoding/charse

Re: Joys of assignment

2004-04-27 Thread Dan Sugalski
At 4:52 PM -0700 4/26/04, TOGoS wrote: > (And yes, this means store_global will be relatively little-used) Would a few operators like 'find_or_store_reference_global' (shorten the name as you like) be in order for those situations where you want to store to a global but don't know if the variable

md5sum, in parrot

2004-04-27 Thread Nick Glencross
Hi Guys, for fun I've written md5sum using IMCC, and have attached my first cut. It will need some further testing, but in the most part it works well. There are some limitations: * 200K file limit imposed when reading in the file * 512MB(?) limit imposed by shortcut in algorithm * Haven't tes

Re: One change to the strings document

2004-04-27 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > So, are we otherwise set on the plan, such that it can be implemented > and we can work on some of the parts that haven't been specified? Some syntax glue for PASM/PIR is needed. How do I specify enoding/charset/language. The same holds for IO. We have to

Re: sqrt

2004-04-27 Thread Dan Sugalski
At 3:29 AM +0200 4/27/04, Stefan Lidman wrote: This adds a square root op and fixes a typo. It is also my first patch so I might have missed something, please tell me what I did wrong. Everything is right, except... you forgot either the -c or -u switch for the diff. (And no, I don't know why the

Re: One change to the strings document

2004-04-27 Thread Dan Sugalski
At 2:00 AM -0700 4/27/04, Jeff Clites wrote: On Apr 26, 2004, at 5:12 AM, Dan Sugalski wrote: At 9:34 PM -0400 4/25/04, Bryan C. Warnock wrote: And what about codepoints that *are* glyphs and/but aren't graphemes? Where do we have those? (I'm getting tempted instead to just call them fred--it'll a

Re: Hash internals?

2004-04-27 Thread Simon Cozens
[EMAIL PROTECTED] (Sumanth Sharma) writes: > Pls throw some light on How are hashes handled internally in Perl?. Fst, this is the Perl 6 internals list, and I suspect you want an answer about Perl 5. Assuming you do want an answer about Perl 5, please see http://www.netthink.co.uk/downloads/i

Hash internals?

2004-04-27 Thread Sumanth Sharma
Hi All, Pls throw some light on How are hashes handled internally in Perl?. Thanks in Advance, Sumanth Sharma

sqrt

2004-04-27 Thread Stefan Lidman
This adds a square root op and fixes a typo. It is also my first patch so I might have missed something, please tell me what I did wrong. /Stefan cvs server: Diffing ops Index: ops/math.ops === RCS file: /cvs/public/parrot/ops/math.o

Re: Win32 build fails on src\interpreter.str

2004-04-27 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > ... The -Zi > ("...program database (PDB) that contains type information and symbolic > debugging information for use with the debugger.") is ok, though. > config/init/hints/mswin32.pl > #Use Edit and Continue debugging if available > cc_debug =

Re: One change to the strings document

2004-04-27 Thread Jeff Clites
On Apr 26, 2004, at 5:12 AM, Dan Sugalski wrote: At 9:34 PM -0400 4/25/04, Bryan C. Warnock wrote: And what about codepoints that *are* glyphs and/but aren't graphemes? Where do we have those? (I'm getting tempted instead to just call them fred--it'll at least avoid some of this confusion...) Ther