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