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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [builtins-63.c] - Rev 298

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

/* Copyright (C) 2007 Free Software Foundation.
 
   Check that isinf, isinff and isinfl built-in functions compile.
 
   Written by Uros Bizjak, 31st January 2007.  */
 
/* { dg-do compile } */
/* { dg-options "-O2" } */
 
extern int isinf(double);
extern int isinff(float);
extern int isinfl(long double);
 
int test1(double x)
{
  return isinf(x);
}
 
int test1f(float x)
{
  return isinff(x);
}
 
int test1l(long double x)
{
  return isinfl(x);
}
 
 

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

powered by: WebSVN 2.1.0

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