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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [math-torture/] [lround.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do assemble } */
2
 
3
long testlf (float x)
4
{
5
  return __builtin_lroundf (x);
6
}
7
long testl (double x)
8
{
9
  return __builtin_lround (x);
10
}
11
long testll (long double x)
12
{
13
  return __builtin_lroundl (x);
14
}
15
long long testllf (float x)
16
{
17
  return __builtin_llroundf (x);
18
}
19
long long testll_ (double x)
20
{
21
  return __builtin_llround (x);
22
}
23
long long testlll (long double x)
24
{
25
  return __builtin_llroundl (x);
26
}

powered by: WebSVN 2.1.0

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