Sign in
third-party-mirror
/
mingw-w64
/
c0bc7713e21cfd11e04ed49d6d2681b78a0509d0
/
.
/
mingw-w64-crt
/
testcases
/
t_powi.c
blob: d8e766de8076004897e28cf87354b08d9839117c [
file
] [
log
] [
blame
]
#include
<math.h>
#include
<stdio.h>
int
main
(
int
argc
,
void
**
argv
)
{
int
i
;
double
x
,
x2
,
z
=
pow
(
10.0
,
15
);
for
(
i
=-
300
;
i
<
-
290
;
i
++)
{
x
=
pow
(
10.0
,
i
);
x2
=
pow
(
10.0
,
i
-
15
);
printf
(
"%6g: %6g %6g\n"
,
x
,
x2
,
x2
*
z
);
}
}