comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Feature, or bug?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Feature, or bug? [message #80288 is a reply to message #80243] Thu, 24 May 2012 05:45 Go to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Wednesday, May 23, 2012 9:32:06 PM UTC+2, whdaffer wrote:

>> Integer overflow is "undefined behaviour" in standard C, so it can not be done in a portable way. The glibc manual says:
>>
>> FPE_INTOVF_TRAP
>>
>>     Integer overflow (impossible in a C program unless you enable overflow trapping in a hardware-specific fashion).
>
> Which, means, effectively, that check_math for integer overflow is
> worthless since I doubt that ITT or whatever they're called this week
> is going to enable overflow trapping in a hardware-specific fashion.
>
> Is the situation similar for the other errors?
>
> whd

Other errors are OK, floating point exception handling is standardized in C99.

Integer overflow may work on non-x86 architectures (SPARC today, Alpha, MIPS, ... for older IDL versions).

regards,
Lajos
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Shut down X connection?
Next Topic: Re: cgColorBar greyscale

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 04:43:13 PDT 2025

Total time taken to generate the page: 1.04005 seconds