Sign in
third-party-mirror
/
mingw-w64
/
79951edef1e76a79d7ce0fa1cf94391b2f6b3d94
/
.
/
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
);
}
}