Behaviour of AVG and Q.AVG? #38
Closed
Comments
|
i can definitely see that as being desirable! On Thu, Apr 14, 2016 at 10:05 AM, Sam Doshi notifications@github.com
|
burnsauce
added a commit
to burnsauce/teletype
that referenced
this issue
Sep 4, 2017
|
In the PR, AVG -32767 -32768 == -32767 and AVG 32766 32767 == 32767, which is "round up" not "round away from zero". |
burnsauce
added a commit
to burnsauce/teletype
that referenced
this issue
Sep 4, 2017
AVG -32767 -32768 == -32767 AVG 32767 32766 == 32767
burnsauce
added a commit
to burnsauce/teletype
that referenced
this issue
Sep 4, 2017
|
GNU C round() goes away from zero. |
|
let's do that then.
…On Tue, Sep 12, 2017 at 11:29 AM, Poindexter Frink ***@***.*** > wrote:
GNU C round() goes away from zero.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#38 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAPEcPHiD77jlMHoUHrgnUy2KVPg_j0aks5shpXrgaJpZM4IHZvU>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment
AVGandQ.AVGperform integer division when calculating the average.e.g.
Should they round instead?
The text was updated successfully, but these errors were encountered: