From: James Cloos <cloos@jhcloos•com>
To: Nicolas Pitre <nico@cam•org>
Cc: git@vger•kernel.org, Junio C Hamano <gitster@pobox•com>
Subject: Re: [PATCH 1/1] Improve progress display in kB range.
Date: Fri, 24 Apr 2009 18:20:45 -0400 [thread overview]
Message-ID: <m3tz4dhewa.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <alpine.LFD.2.00.0904241722220.6741@xanadu.home> (Nicolas Pitre's message of "Fri, 24 Apr 2009 17:46:15 -0400 (EDT)")
>>>>> "Nicolas" == Nicolas Pitre <nico@cam•org> writes:
>> 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 <cloos@jhcloos•com> OpenPGP: 1024D/ED7DAEA6
prev parent reply other threads:[~2009-04-24 22:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 4:38 [PATCH 0/1] Improve progress display in kB range James Cloos
2009-04-19 4:32 ` [PATCH 1/1] " James Cloos
2009-04-21 4:56 ` Nicolas Pitre
2009-04-21 17:11 ` James Cloos
2009-04-21 17:28 ` Nicolas Pitre
2009-04-21 20:16 ` James Cloos
2009-04-22 14:33 ` James Cloos
2009-04-22 19:44 ` Junio C Hamano
2009-04-22 22:35 ` James Cloos
2009-04-23 6:23 ` Johannes Sixt
2009-04-24 20:15 ` James Cloos
2009-04-24 21:46 ` Nicolas Pitre
2009-04-24 22:20 ` James Cloos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3tz4dhewa.fsf@lugabout.jhcloos.org \
--to=cloos@jhcloos$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=gitster@pobox$(echo .)com \
--cc=nico@cam$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox