You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code in question here is part of libc++ which itself is part of LLVM. If you really think this is a bug perhaps its best to file that bug upstream?
This is main.cpp:
Here are the commands I use to build and run it:
I expect the first output of
x
to be the same as the second (other than possibly the last digit or two).It looks like the culprit is the use of
static_cast<double>(__value)
here:emscripten/system/lib/libcxx/src/charconv.cpp
Lines 44 to 47 in 77448a9
Personally I would rather have an error than a silent cast to
double
.I labeled this issue a bug report, but you might not consider it a bug. In that case, this is an enhancement request!
Version of emscripten/emsdk:
Full link command and output with
-v
appended:Here's the build command again, with
-v
included:The text was updated successfully, but these errors were encountered: