checking for overflow in C

Richard Tobin richard at aiai.ed.ac.uk
Sat May 20 03:16:13 AEST 1989


In article <10218 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>How did you get your algorithm into the state where an overflow is
>even possible?  Sounds to me like the algorithm needs to be better
>engineered.

Oh come on.  There are lots of cases where this is a possibility.
Perhaps he's writing an interpreter for some other language, for
example.

-- Richard


-- 
Richard Tobin,                       JANET: R.Tobin at uk.ac.ed             
AI Applications Institute,           ARPA:  R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University.                UUCP:  ...!ukc!ed.ac.uk!R.Tobin



More information about the Comp.lang.c mailing list