When compiling some code with emcc I get these imports in the result:

 (import "global" "NaN" (global $gimport$16 f64))
 (import "global" "Infinity" (global $gimport$17 f64))

Why are these needed?  Could the values for these constants not exist 
internal to the WASM?

Also, I searched the disassembly for NaN and it is only here in the import 
-- even when I use -O3 -- so maybe unused import removal is missing it for 
some reason?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to