Subject: detect arithmetic overflow
To: None <current-users@netbsd.org>
From: Ciju John <cjohn@cs.nmsu.edu>
List: current-users
Date: 08/05/2003 14:18:08
Hi all, I need to detect arithmetic overflow when using signed integers
(64-bit). I read that a system signal is generated upon an overflow event.
However using signals is not an option and therefore I would like some
other solution such as bit checks etc (something I can write a simple
macros for).
	Thanks in advance for any help.

sincerely,
ciju john