[LTP] [PATCH 2/2] Avoid zero or negative int results in calculations

Petr Vorel pvorel@suse.cz
Fri Mar 27 10:57:15 CET 2020


Hi,

> Before:
> real	0m0,013s

> After (slowed by second commit, not by the rewrite):
> real	0m0,402s

Although the slowdown it's ~30 times, it's obviously fast enough,
so I wouldn't consider it as a problem. I was just surprised by it.

My concern is about brief explanation where/how is zero or negative result
appears. But maybe it's obvious and I just don't see it.

Kind regards,
Petr


More information about the ltp mailing list