sizeof(long double)
16
LDBL_MANT_DIG
113

This completely throws me off since I use long double in my code expecting 
it to be native (for example, on Digital Mars on Windows, sizeof(long 
double) is 10, and LDBL_MANT_DIG is 64). And quadruple precision is not 
native in many computers. This certainly should be warned about in 
https://emscripten.org/docs/porting/guidelines/portability_guidelines.html#code-that-compiles-but-might-run-slowly
 
. So how do I get long double to be double precision instead (sizeof(long 
double) being 8, and LDBL_MANT_DIG being 53)?

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/23b05bb2-1164-4885-9eb4-cacd7d337f3dn%40googlegroups.com.

Reply via email to