libphobos: Bump soname version to 5 [PR113667]
[official-gcc.git] / libquadmath / math / nanq.c
blob52786d906c5f15acaf32759dfc2c88c96b523390
1 #include "quadmath-imp.h"
3 __float128
4 nanq (const char *tagp __attribute__ ((unused)))
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;