checking for overflow in C

Henry Spencer henry at utzoo.uucp
Thu May 11 02:19:38 AEST 1989


In article <17981 at cisunx.UUCP> jcbst3 at 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 at zoo.toronto.edu



More information about the Comp.lang.c mailing list