From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,7e35f49d4d9340ab X-Google-Attributes: gidfc89c,public X-Google-Thread: 1164f8,7e35f49d4d9340ab X-Google-Attributes: gid1164f8,public X-Google-Thread: 109fba,7e35f49d4d9340ab X-Google-Attributes: gid109fba,public From: damercer@mmm.com (Dan A. Mercer) Subject: Re: Division by zero crashes on DEC should be avoidable! Date: 1998/03/09 Message-ID: <6e1bal$nr8$2@sulu.mmm.com>#1/1 X-Deja-AN: 332339747 References: <6dpumh$27e@camel21.mindspring.com> Followup-To: comp.sys.dec,comp.lang.c++,comp.unix.programmer Organization: 3M - St. Paul, MN 55144-1000 US Newsgroups: comp.sys.dec,comp.lang.c++,comp.unix.programmer Michael C. Grant (mcgrant@mindspring.com) wrote: : Your attitude is somewhat unattractive here, especially since you're wrong. : There is a compiler flag to disable floating-point exceptions of this type; : catching signals is a slow and unnecessarily complex solution to the : problem. : In most scientific contexts, dividing by zero is not only legal but a very : nice idiom. Working with infinity is not particularly difficult. Mathematically speaking, the solution of 0/0 is not infinity but lies in the range of numbers between 0 and infinity. -- Dan Mercer Reply To: damercer@mmm.com Opinions expressed herein are my own and may not represent those of my employer.