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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [builtins-63.c] - Rev 826

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);
}
 
 

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.