On Tue, 10 Apr 2018 09:47:07 +0200 Petr Tesarik <ptesarik@xxxxxxx> wrote: >[...] > Let's stay reasonable. Any value which represents more than a few > (dozen) hours is not usable in practice. But hey, to make sure we > cannot hit undefined behaviour, why not pass a double to > eta_to_human_short()... I gave it a second thought. Using math library functions just to print a progress bar is overkill. In fact, using the FPU is already overkill. Instead, I'm going to convert the calculations to pure integer arithmetic. Petr T _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec