Open yavnolib opened 1 month ago
The formatting string is 'time = {:.2G} * {:.2G}^n'
, so yes in this case 1.01498 would be printed as 1
.
We could increase .2 to .3, but the G
format often does automatically the right thing... but would one do that for all the cases? I'm wondering if we should have a global display option instead, for the precision of these reports
When calculating the complexity, I got the following results:
It seems to me that in the exponential dependence the value of the coefficient b should be shown in full, or the number of digits after the decimal point should be increased, since the exponent grows too quickly. The actual value of the coefficient b in this case is 1.01498.