1ec601bf FXC |
1 | #include "quadmath-imp.h" |
2 | |
3 | __float128 |
4 | nanq (const char *tagp __attribute__ ((unused))) |
5 | { |
6 | // FIXME -- we should use the argument |
667b3ec1 JM |
7 | ieee854_float128 f = { 0 }; |
8 | f.ieee_nan.exponent = 0x7fff; |
9 | f.ieee_nan.quiet_nan = 0x1; |
1ec601bf FXC |
10 | return f.value; |
11 | } |