repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc-interface/trans.c (node_has_volatile_full_access) <N_Identifier>:
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20170419-1.c
blob
c16a5ea2af4bd058bd23fd10ee9aaa4157f0103d
1
extern
int
__fpclassifyd
(
double
x
);
2
3
double
fdim
(
double
x
,
double
y
)
4
{
5
int
c
=
__fpclassifyd
(
x
);
6
if
(
c
==
0
)
7
return
(
x
);
8
if
(
__fpclassifyd
(
y
) ==
0
)
9
return
(
y
);
10
if
(
c
==
1
)
11
return
(
__builtin_huge_val
());
12
return
x
>
y
?
x
-
y
:
0.0
;
13
}