1
0
Fork 0

YASIM reduce precision of lift/drag output from CLI tool to .4

This commit is contained in:
Henning Stahlke 2017-12-14 20:02:52 +01:00
parent 87149931dd
commit 9289c79e05

View file

@ -95,7 +95,7 @@ void yasim_graph(Airplane* a, const float alt, const float kts, int cfg = CONFIG
ld_max= ld;
ld_max_deg = deg;
}
printf("%d %g %g %g\n", deg, lift, drag, ld);
printf("%d %.4g %.4g %.4g\n", deg, lift, drag, ld);
}
printf("# cl_max %g at %d deg\n", cl_max, cl_max_deg);
printf("# cd_min %g at %d deg\n", cd_min, cd_min_deg);