blob: 73b75b7adbd0df25d4f9ba56c006727f14e0b691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* { dg-do assemble } */
long testlf (float x)
{
return __builtin_lrintf (x);
}
long testl (double x)
{
return __builtin_lrint (x);
}
long testll (long double x)
{
return __builtin_lrintl (x);
}
long long testllf (float x)
{
return __builtin_llrintf (x);
}
long long testll_ (double x)
{
return __builtin_llrint (x);
}
long long testlll (long double x)
{
return __builtin_llrintl (x);
}
|