Exception handling (was: C bug causes double fault)

Wietse Z. Venema wietse at wzv.UUCP
Mon Mar 20 19:36:18 AEST 1989


In article <244 at tree.UUCP> zarquon at tree.UUCP (Erin Filbert) writes:
>
>	float x;
>	printf("x = %d", x);
>
>will send the system into double fault.  I am using Microport System V
>Release 2 on a 286 machine (AT Clone).

On this particular machine (uPort 2.3.0, no 80287) the program does no
harm.  It depends on the version of the OS, but also on the presence of
an arithmetic chip, what the effect of arithmetic exceptions will be.
-- 
work:	wswietse at eutrc3.uucp	| Eindhoven University of Technology
work:	wswietse at heitue5.bitnet	| Mathematics and Computing Science
home:	wietse at wzv.uucp		| 5600 MB Eindhoven, The Netherlands



More information about the Comp.unix.microport mailing list