Mercurial > hg > CbC > CbC_gcc
comparison libquadmath/math/nanq.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 561a7518be6b |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
2 | 2 |
3 __float128 | 3 __float128 |
4 nanq (const char *tagp __attribute__ ((unused))) | 4 nanq (const char *tagp __attribute__ ((unused))) |
5 { | 5 { |
6 // FIXME -- we should use the argument | 6 // FIXME -- we should use the argument |
7 ieee854_float128 f; | 7 ieee854_float128 f = { 0 }; |
8 f.ieee.exponent = 0x7fff; | 8 f.ieee_nan.exponent = 0x7fff; |
9 f.ieee.mant_high = 0x1; | 9 f.ieee_nan.quiet_nan = 0x1; |
10 return f.value; | 10 return f.value; |
11 } | 11 } |