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?

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
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-25 Thread Florian Weimer
Nicholas Clark <[EMAIL PROTECTED]> writes: > (doing stuff on out of range signed values is undefined behaviour, IIRC) Yes, that's right. Some GCC optimizations rely on the fact that signed integer calculations can never overflow.