view libquadmath/math/nanq.c @ 129:002ebcbc1eb4

remove test_env
author mir3636
date Tue, 15 May 2018 18:45:25 +0900
parents 561a7518be6b
children 1830386684a0
line wrap: on
line source

#include "quadmath-imp.h"

__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;
  return f.value;
}