Re:The Ten Commandments for C Programmers (Annotated Edition)
by barrkel on Saturday November 06, 2010 @03:50PM
(#1877610)
Presuming the CPU takes it into account in addressing modes (so that e.g. [EAX + EDX * 4 + 13], like you might see when accessing a field of an element in an array, still returns 0 if EAX is 0), you'd stil have problems similar to non-signalling NaNs vs signalling NaNs: you want the problems associated with a bug to be localized to where the bug is, and not leak out. When the bad value escapes into other code and causes problems down the line, it can be hard to figure out where the value came from.
[ Parent
| on HN ]
There are no comments on this comment yet.