Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/1] Improve progress display in kB range.

From: James Cloos <hidden>
Date: 2016-06-15 22:46:39

quoted
quoted
quoted
quoted
"Nicolas" == Nicolas Pitre [off-list ref] writes:
quoted
Will a patch which does round-to-nearest (instead of the current
round-to-zero) be accepted?
Nicolas> Sure.  What about this (untested):

Nicolas> +		int x = total + 5243;  /* for rounding */
Nicolas> +		int x = total + 5;  /* for rounding */

That looks correct.

-JimC
-- 
James Cloos [off-list ref]         OpenPGP: 1024D/ED7DAEA6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help