comparison libquadmath/math/nanq.c @ 68:561a7518be6b

update gcc-4.6
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 21 Aug 2011 07:07:55 +0900
parents
children 1830386684a0
comparison
equal deleted inserted replaced
67:f6334be47118 68:561a7518be6b
1 #include "quadmath-imp.h"
2
3 __float128
4 nanq (const char *tagp __attribute__ ((unused)))
5 {
6 // FIXME -- we should use the argument
7 ieee854_float128 f;
8 f.ieee.exponent = 0x7fff;
9 f.ieee.mant_high = 0x1;
10 return f.value;
11 }