3 ms·
Calling it undefned is a cute meta-exception, but the compiler (or runtime) still does something when hitting that code.
by logicallee 12y ago
Calling it undefned is a cute meta-exception, but the compiler (or runtime) still does something when hitting that code.
- klodolph 12y agoYeah, the compiler typically assumes it works, and encodes assumptions that it does work into the surrounding code. On some systems you will get SIGFPE. On other systems, the result is something defined like 0. On some systems, the result is whatever happened to be in some register or whatever.