Re: [osol-code] Arithmetic overflow

2007-02-07 Thread Bart Smaalders
[EMAIL PROTECTED] wrote: Hi, C language does not support exceptions on arithmetic overflow. How do people handle these situations? Do you use custom assembly code to check the status of machine registers after arithmetic operations, or do you simply ignore it and pretend it would never happen? If

[osol-code] Arithmetic overflow

2007-02-07 Thread negativedrift
Hi, C language does not support exceptions on arithmetic overflow. How do people handle these situations? Do you use custom assembly code to check the status of machine registers after arithmetic operations, or do you simply ignore it and pretend it would never happen? If you do check for overflow,