
27 Oct
2008
27 Oct
'08
10:59 a.m.
This behaviour is not what I expect after reading the description at http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:round . Given that this behaviour has caused a bit of confusion I think a change to the documention might be in order.
The authority here is the report which says "round x returns the nearest integer to x, the even integer if x is equidistant between two integers." However I agree the haddock ought to mirror the report. Jules