08-26-2023, 05:12 PM
@bplus and others
if you want to test how those changes will affect Str$ and the Print of double values then you can apply the change to libqb.cpp and build or rebuild QB64
but you may want to know that it restricts the double output to 15 significant digits, so
1000000000000000# + 1 will print as 1000000000000000 and not 1000000000000001
double has a precision of 53-bits or 15.95 decimal digits, so restricting the output to 15 significant digits helps to eliminate a considerable amount of output like 1.999999999999999 just as an example
but of course if the developers want to include the changes then they can adjust the code to their liking
if you want to test how those changes will affect Str$ and the Print of double values then you can apply the change to libqb.cpp and build or rebuild QB64
but you may want to know that it restricts the double output to 15 significant digits, so
1000000000000000# + 1 will print as 1000000000000000 and not 1000000000000001
double has a precision of 53-bits or 15.95 decimal digits, so restricting the output to 15 significant digits helps to eliminate a considerable amount of output like 1.999999999999999 just as an example
but of course if the developers want to include the changes then they can adjust the code to their liking