On 19 January 2011 15:53, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: > No, most hardware (e.g., all flavors of x86) just sets a flag indicating that > an overflow has occurred; it's up to the executing program to check the flag.
And on some machines (again, x86 springs to mind) it's easier to check some flags than others. I needed to do this for some stats software recently. Detecting FP overflow was easy ("there's an instruction for that"), detecting integer overflow was significantly harder. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org