
27 Oct
2008
27 Oct
'08
10:14 a.m.
On 2008 Oct 27, at 6:00, Henning Thielemann wrote:
On Mon, 27 Oct 2008, L.Guo wrote:
I think this is unresonable. then try it in GHC 6.8.3.
Prelude> round 3.5 4 Prelude> round 2.5 2
Is there any explanation about that ?
It's the definition we learnt in school ...
Maybe you did; I learned "5/9 rounding". -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH