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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [math-torture/] [lround.c] - Rev 691

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

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.