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, are there any examples in Solaris kernel? _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
- [osol-code] Arithmetic overflow negativedrift
- Re: [osol-code] Arithmetic overflow Bart Smaalders
