Re: C#/Parrot Status

2002-11-24 Thread Dan Sugalski
At 10:55 AM +1000 11/25/02, Rhys Weatherley wrote: Nicholas Clark wrote: Floating point fills me with fear. If it makes you feel better, C# does not require overflow detection on floating-point operations. FP overflow results in +/-INF, underflow results in zero, and undefined is NAN. Only

Re: C#/Parrot Status

2002-11-24 Thread Rhys Weatherley
Nicholas Clark wrote: > Floating point fills me with fear. If it makes you feel better, C# does not require overflow detection on floating-point operations. FP overflow results in +/-INF, underflow results in zero, and undefined is NAN. Only integer overflow detection is required, and then only

Re: long double error

2002-11-24 Thread David Robins
On Sun, 24 Nov 2002, Dan Sugalski wrote: > At 9:20 AM -0500 11/24/02, Andy Dougherty wrote: > >On Sat, 23 Nov 2002, David Robins wrote: > >> When's the long double "KNOWN ISSUE" going to be fixed? What's the work > >It's (at least partly) a packfile alignment thing. I think if you look in > >t

Re: C#/Parrot Status

2002-11-24 Thread Nicholas Clark
On Sun, Nov 24, 2002 at 10:33:23PM +0100, Florian Weimer wrote: > Dan Sugalski <[EMAIL PROTECTED]> writes: > > > .NET has exception-throwing versions of its math operations. If you do > > an add of two 8-bit integers and the result overflows, you should get > > an exception (if you've used the "ch

Re: C#/Parrot Status

2002-11-24 Thread Dan Sugalski
At 10:33 PM +0100 11/24/02, Florian Weimer wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: .NET has exception-throwing versions of its math operations. If you do an add of two 8-bit integers and the result overflows, you should get an exception (if you've used the "check overflow" versions of

Re: C#/Parrot Status

2002-11-24 Thread Florian Weimer
Dan Sugalski <[EMAIL PROTECTED]> writes: > .NET has exception-throwing versions of its math operations. If you do > an add of two 8-bit integers and the result overflows, you should get > an exception (if you've used the "check overflow" versions of the ops) Actually, I thought about implementing

Re: C#/Parrot Status

2002-11-24 Thread Dan Sugalski
At 8:07 PM +0100 11/24/02, Leopold Toetsch wrote: Florian Weimer wrote: "Iacob Alin" <[EMAIL PROTECTED]> writes: This might be a stupid question, but are this datatypes going to be PMCs? And a related question: What about trapping integer arithmetic? Sorry for the ignorant question: This

Re: [perl #18622] [PATCH] Befunge now supports the pop and push instructions of the PerlArray PMC

2002-11-24 Thread Dan Sugalski
At 9:34 AM + 11/23/02, Jerome Quelin (via RT) wrote: Well, the topic says it pretty much: befunge now supports the push and pop instructions builtin in PerlArray PMC, and I can get rid of my own crafted version of push and pop in Parrot Assembly. Fear, cause now I'll be able to find even more

Re: C#/Parrot Status

2002-11-24 Thread Leopold Toetsch
Florian Weimer wrote: "Iacob Alin" <[EMAIL PROTECTED]> writes: This might be a stupid question, but are this datatypes going to be PMCs? And a related question: What about trapping integer arithmetic? Sorry for the ignorant question: This does mean what and implying that and whatsoever?

Re: C#/Parrot Status

2002-11-24 Thread Dan Sugalski
At 1:46 PM +0100 11/24/02, Florian Weimer wrote: "Iacob Alin" <[EMAIL PROTECTED]> writes: This might be a stupid question, but are this datatypes going to be PMCs? And a related question: What about trapping integer arithmetic? That'll be done with the standard exception handling mechanism

Re: long double error

2002-11-24 Thread Dan Sugalski
At 9:20 AM -0500 11/24/02, Andy Dougherty wrote: On Sat, 23 Nov 2002, David Robins wrote: When's the long double "KNOWN ISSUE" going to be fixed? What's the work around, just to build a perl with NV==double? I've looked around, can't find anything about it except in KNOWN_ISSUES (only match

Re: long double error

2002-11-24 Thread Andy Dougherty
On Sat, 23 Nov 2002, David Robins wrote: > When's the long double "KNOWN ISSUE" going to be fixed? What's the work > around, just to build a perl with NV==double? I've looked around, can't > find anything about it except in KNOWN_ISSUES (only match in RT is > "Parrot_sprintf-related stuff"). Sc

Re: Selfbootstrapping compilers (Was: faq)

2002-11-24 Thread Simon Cozens
[EMAIL PROTECTED] (Brent Dax) writes: > We have to--otherwise we can't have the self-modifying parser Larry > desperately wants. That's funny. I wondered precisely why I'd been working on self-modifying parsers in C. -- 10. The Earth quakes and the heavens rattle; the beasts of nature flock toge

Re: [perl #18565] [PATCH] Simple exception message improvement

2002-11-24 Thread Florian Weimer
Juergen Boemmels <[EMAIL PROTECTED]> writes: > Without varargs macros this is not really simple. (IIRC they are > introduced in C99, but are in gcc for years now). Indeed, C99 standardized them, but in a way that differs from GCC.

Re: C#/Parrot Status

2002-11-24 Thread Florian Weimer
"Iacob Alin" <[EMAIL PROTECTED]> writes: > This might be a stupid question, but are this datatypes going to be > PMCs? And a related question: What about trapping integer arithmetic?