Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!zog.cs.cmu.edu!dlc From: dlc@zog.cs.cmu.edu (Daryl Clevenger) Newsgroups: comp.unix.questions Subject: Re: Division by Zero questions? Message-ID: <1010@zog.cs.cmu.edu> Date: Sun, 16-Nov-86 10:45:30 EST Article-I.D.: zog.1010 Posted: Sun Nov 16 10:45:30 1986 Date-Received: Sun, 16-Nov-86 20:08:11 EST Organization: Carnegie Mellon University Lines: 10 As far as I know, some systems have special values for various conditions that can result from floating point operations. Those sytems that do not have these values dump core, but on those that do, they set the value and continue onward. On your Zilog model, I suspect that "INF" is infinity and is the value set when a floating point division by zero is attempted. I do not know what "NAN" means. Also, I'm not sure what happens if you use an "INF" value in a computation. Also, I suspect that there are values to indicate overflow and underflow. I believe that much of this is specified in the IEEE floating point standard, but not all hardware uses this standard.