1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

replaced fts variants with a single fts

This commit is contained in:
Zeno Rogue
2019-05-22 00:01:30 +02:00
parent 8518f97ded
commit f7d580fa9c
12 changed files with 65 additions and 73 deletions

View File

@@ -714,9 +714,7 @@ void expansion_analyzer::view_distances_dialog() {
}
else dialog::addBreak(100);
char buf[20];
snprintf(buf, 20, "%.8lf", (double) get_growth());
dialog::addInfo("Θ(" + string(buf) + "...ᵈ)", forecolor);
dialog::addInfo("Θ(" + fts(get_growth(), 8) + "...ᵈ)", forecolor);
}
}
@@ -808,7 +806,7 @@ int expansion_readArgs() {
for(int c: expansion.children[i]) printf(" %d", c);
printf("\n");
}
printf("growth = %lf\n", (double) expansion.get_growth());
println(hlog, "growth = ", expansion.get_growth());
expansion.find_coefficients();
if(expansion.coefficients_known == 2) {
printf("coefficients:"); for(int x: expansion.coef) printf(" %d", x);