What Can't C Do?

Kenneth Almquist ka at hou3c.UUCP
Sun Mar 18 14:37:42 AEST 1984


One thing that C lacks is a method of testing for arithmetic overflow.
This makes it difficult to write efficient interpreters for "normal"
languages that check for overflow.  I suspect that many C programs sim-
ply assume that overflow will not occur and produce incorrect results
when it does occur.

I don't have any good proposals for integrating such a facility into C.
				Kenneth Almquist



More information about the Comp.lang.c mailing list