Browse Source

Merge branch 'misc-repo-cleanups'

v1.0-maintenance
Sami Vaarala 10 years ago
parent
commit
30e9ec8fef
  1. 2
      .gitignore
  2. 12
      emscripten-testcases/fmod.c

2
.gitignore

@ -3,7 +3,9 @@
*.o
*.strip
build/
dist/
stuff/
autotest/
doc/*.pdf
src/*.pyc
UglifyJS/

12
emscripten-testcases/fmod.c

@ -0,0 +1,12 @@
/*
* This should print "0.00000" but on some Emscripten versions it ends up
* printing "nan" (when executed with NodeJS or Duktape).
*/
#include <stdio.h>
#include <math.h>
int main(int argc, char *argv[]) {
printf("%lf\n", fmod(0.0, 4.0));
return 1;
}
Loading…
Cancel
Save