]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/math/nanq.c
rs6000: build constant via li;rotldi
[thirdparty/gcc.git] / libquadmath / math / nanq.c
CommitLineData
1ec601bf
FXC
1#include "quadmath-imp.h"
2
3__float128
4nanq (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}