diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-08-19 05:53:31 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-08-19 05:53:31 -0700 |
commit | 51728d9334f642958f80bf442b40a76decdccafe (patch) | |
tree | 091799c232323f5df5c0b57cb17d036cdcecfb0d /html/001help.cc.html | |
parent | 4234040b32415e86c020d2e864f22d74679c4904 (diff) | |
download | mu-51728d9334f642958f80bf442b40a76decdccafe.tar.gz |
3971
Diffstat (limited to 'html/001help.cc.html')
-rw-r--r-- | html/001help.cc.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/001help.cc.html b/html/001help.cc.html index b6c354af..7ff20eb8 100644 --- a/html/001help.cc.html +++ b/html/001help.cc.html @@ -206,7 +206,7 @@ if ('onhashchange' in window) { <span id="L143" class="LineNr">143 </span><span class="Comment">//: 5. Integer overflow is guarded against at runtime using the -ftrapv flag</span> <span id="L144" class="LineNr">144 </span><span class="Comment">//: to the compiler, supported by Clang (GCC version only works sometimes:</span> <span id="L145" class="LineNr">145 </span><span class="Comment">//: <a href="http://stackoverflow.com/questions/20851061/how-to-make-gcc-ftrapv-work">http://stackoverflow.com/questions/20851061/how-to-make-gcc-ftrapv-work</a>).</span> -<span id="L146" class="LineNr">146 </span><span class="Delimiter">:(before "atexit(teardown)")</span> +<span id="L146" class="LineNr">146 </span><span class="Delimiter">:(before "atexit(reset)")</span> <span id="L147" class="LineNr">147 </span><a href='001help.cc.html#L152'>initialize_signal_handlers</a><span class="Delimiter">();</span> <span class="Comment">// not always necessary, but doesn't hurt</span> <span id="L148" class="LineNr">148 </span><span class="CommentedCode">//? cerr << INT_MAX+1 << '\n'; // test overflow</span> <span id="L149" class="LineNr">149 </span><span class="CommentedCode">//? assert(false); // test SIGABRT</span> @@ -242,7 +242,7 @@ if ('onhashchange' in window) { <span id="L179" class="LineNr">179 </span><span class="PreProc">#include </span><span class="Constant"><signal.h></span> <span id="L180" class="LineNr">180 </span> <span id="L181" class="LineNr">181 </span><span class="Comment">//: For good measure we'll also enable SIGFPE.</span> -<span id="L182" class="LineNr">182 </span><span class="Delimiter">:(before "atexit(teardown)")</span> +<span id="L182" class="LineNr">182 </span><span class="Delimiter">:(before "atexit(reset)")</span> <span id="L183" class="LineNr">183 </span><a href='001help.cc.html#L196'>feenableexcept</a><span class="Delimiter">(</span>FE_OVERFLOW | FE_UNDERFLOW<span class="Delimiter">);</span> <span id="L184" class="LineNr">184 </span><span class="CommentedCode">//? assert(sizeof(int) == 4 && sizeof(float) == 4);</span> <span id="L185" class="LineNr">185 </span><span class="CommentedCode">//? // | exp | mantissa</span> |