Doing the Emscripten Tutorials – Why does int_sqrt(25) not return 5 in this code?

What are the details of your problem? So far using Emscripten, I’ve converted this C code to a.out.wasm and a.out.js: #include <math.h> #include <emscripten.h> int int_sqrt(int x) { return sqrt(x); } I require‘d the output and I’m trying to test out using the int_sqrt() function in Node by using cwrap() in this code: a =… Read More Doing the Emscripten Tutorials – Why does int_sqrt(25) not return 5 in this code?