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
Trying to compile the following code, I get an error on line 2058, where the second parameter passed to divide_by_pow10 is significand_bits + kappa + 2 instead of carrier_uint or something similar. I also assume the 3rd parameter isn't the correct value.
#include"dragonbox.h"intmain( int argc, char** argv ) {
float x = 1.234f;
auto v = jkj::dragonbox::to_decimal( x, jkj::dragonbox::policy::decimal_to_binary_rounding::toward_plus_infinity );
return0;
}
Compiling with MSVC: cl -nologo main.cpp -Fe:dragonbox.exe -Zi -Od -std:c++17
The text was updated successfully, but these errors were encountered:
Trying to compile the following code, I get an error on line 2058, where the second parameter passed to
divide_by_pow10
issignificand_bits + kappa + 2
instead ofcarrier_uint
or something similar. I also assume the 3rd parameter isn't the correct value.Compiling with MSVC: cl -nologo main.cpp -Fe:dragonbox.exe -Zi -Od -std:c++17
The text was updated successfully, but these errors were encountered: