Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr41094.c
blob: 9219a1741a37f6ed0422388ceb73d6160563607f [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-ffast-math" } */
#include
<math.h>
extern
void
abort
(
void
);
double
foo
(
void
)
{
double
x
=
-
4.0
;
return
pow
(
x
*
x
,
0.25
);
}
int
main
()
{
double
r
=
foo
();
if
(
r
!=
2.0
)
abort
();
return
0
;
}