blob: be50ee50f9812c128446af63e60a36b6d1d38596 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
extern GPF SUFFIX(trunc) (GPF);
extern GPF SUFFIX(ceil) (GPF);
extern GPF SUFFIX(floor) (GPF);
extern GPF SUFFIX(round) (GPF);
GPI test1a (GPF x) {
return SUFFIX(__builtin_trunc)(x);
}
GPI test1b (GPF x)
{
return SUFFIX(trunc)(x);
}
GPI test2a (GPF x)
{
return SUFFIX(__builtin_lceil)(x);
}
GPI test2b (GPF x)
{
return SUFFIX(ceil)(x);
}
GPI test2c (GPF x)
{
return SUFFIX(__builtin_ceil)(x);
}
GPI test3a (GPF x)
{
return SUFFIX(__builtin_lfloor)(x);
}
GPI test3b (GPF x)
{
return SUFFIX(floor)(x);
}
GPI test3c (GPF x)
{
return SUFFIX(__builtin_floor)(x);
}
GPI test4a (GPF x)
{
return SUFFIX(__builtin_round)(x);
}
GPI test4b (GPF x)
{
return SUFFIX(round)(x);
}
|