File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* https://stackoverflow.com/questions/18118408/what-is-difference-between-quiet-nan-and-signaling-nan/55648118#55648118 */
2
+
1
3
#include <assert.h>
2
4
#include <math.h> /* NAN, isnan */
3
5
#include <stdio.h>
Original file line number Diff line number Diff line change
1
+ // https://stackoverflow.com/questions/18118408/what-is-difference-between-quiet-nan-and-signaling-nan/55648118#55648118
2
+ //
1
3
// C++ has some NaN functionality that C does not have,
2
4
// we will illustrate those here.
3
5
Original file line number Diff line number Diff line change
1
+ // https://stackoverflow.com/questions/18118408/what-is-difference-between-quiet-nan-and-signaling-nan/55648118#55648118
2
+ //
1
3
// In C++ for signling_NaN.
2
4
//
3
5
// In GCC 8.2, sNaN is only done in -O0 and completely skipped in -O3.
You can’t perform that action at this time.
0 commit comments