Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: checking for overflow in C Message-ID: <1989May10.161938.29819@utzoo.uucp> Organization: U of Toronto Zoology References: <13367@dartvax.Dartmouth.EDU> <10218@smoke.BRL.MIL> <436@cbnewsm.ATT.COM> <17981@cisunx.UUCP> Date: Wed, 10 May 89 16:19:38 GMT In article <17981@cisunx.UUCP> jcbst3@unix.cis.pittsburgh.edu (James C. Benz) writes: >Is there any easy (or not so easy) way to check for overflow in arithmetic >involving Floating Point values? ... Not a portable one. -- Mars in 1980s: USSR, 2 tries, | Henry Spencer at U of Toronto Zoology 2 failures; USA, 0 tries. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu