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.0rc1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [math-torture/] [lround.c] - Rev 318

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

/* { dg-do assemble } */
 
long testlf (float x)
{
  return __builtin_lroundf (x);
}
long testl (double x)
{
  return __builtin_lround (x);
}
long testll (long double x)
{
  return __builtin_lroundl (x);
}
long long testllf (float x)
{
  return __builtin_llroundf (x);
}
long long testll_ (double x)
{
  return __builtin_llround (x);
}
long long testlll (long double x)
{
  return __builtin_llroundl (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.