OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libquadmath/] [math/] [nanq.c] - Blame information for rev 780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 740 jeremybenn
#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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.