[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk round-up 0.5 bug?
From: |
Eric Blake |
Subject: |
Re: gawk round-up 0.5 bug? |
Date: |
Mon, 29 Sep 2008 14:47:10 -0700 (PDT) |
> On the other hand, I would also file a glibc bug, since QoI argues
> that glibc should do the rounding according to the current
> rounding mode (and output 1), rather than truncating 0.5 to 0
> when rounding it to 0 decimal places.
Never-mind; I wasn't thinking. Clearly, IEEE round-to-even means
0.5 rounds to 0, not 1. I've gone ahead and filed a newlib bug,
and have no complaints about glibc's behavior.
--
Eric Blake
--
View this message in context:
http://www.nabble.com/gawk-round-up-0.5-bug--tp17960779p19732356.html
Sent from the Gnu - Utils - Bugs mailing list archive at Nabble.com.