diff options
Diffstat (limited to 'libquadmath/math/nanq.c')
-rw-r--r-- | libquadmath/math/nanq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libquadmath/math/nanq.c b/libquadmath/math/nanq.c index bace470..52786d9 100644 --- a/libquadmath/math/nanq.c +++ b/libquadmath/math/nanq.c @@ -4,8 +4,8 @@ __float128 nanq (const char *tagp __attribute__ ((unused))) { // FIXME -- we should use the argument - ieee854_float128 f; - f.ieee.exponent = 0x7fff; - f.ieee.mant_high = 0x1; + ieee854_float128 f = { 0 }; + f.ieee_nan.exponent = 0x7fff; + f.ieee_nan.quiet_nan = 0x1; return f.value; } |