Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten
/
refs/tags/1.36.13
/
.
/
tests
/
core
/
test_fast_math.c
blob: e3b283aac9c0f8b52260d9ac1559ede7e278a632 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
int
argc
,
char
**
argv
)
{
char
*
endptr
;
--
argc
,
++
argv
;
double
total
=
0.0
;
for
(;
argc
;
argc
--,
argv
++)
{
total
+=
strtod
(*
argv
,
&
endptr
);
}
printf
(
"total: %g\n"
,
total
);
return
0
;
}