[comp.unix.microport] Exception handling

wietse@wzv.UUCP (Wietse Z. Venema) (03/20/89)

In article <244@tree.UUCP> zarquon@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@eutrc3.uucp	| Eindhoven University of Technology
work:	wswietse@heitue5.bitnet	| Mathematics and Computing Science
home:	wietse@wzv.uucp		| 5600 MB Eindhoven, The Netherlands