Path: utzoo!attcan!uunet!mcvax!hp4nl!eutrc3!wzv!wietse From: wietse@wzv.UUCP (Wietse Z. Venema) Newsgroups: comp.unix.microport Subject: Exception handling (was: C bug causes double fault) Message-ID: <254@wzv.UUCP> Date: 20 Mar 89 09:36:18 GMT References: <244@tree.UUCP> Reply-To: wietse@wzv.UUCP (Wietse Z. Venema) Organization: Eindhoven University of Technology, The Netherlands Lines: 15 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