> p. 83 'Coercions and Component Extraction' > I find it quite odd that round 3.5 returns 4, but round 2.5 returns 2. > I always thought that round x.5 returns x+1 (instead of the > even integer). > That's the behaviour in most math books and programming languages It looks odd to me too. I think this is just taken from some other standard, so I don't propose to alter it. Can anyone shed light? Simon
- Haskell 98 draft report Simon Peyton-Jones
- Re: Haskell 98 draft report Felix Schroeter
- RE: Haskell 98 draft report Simon Peyton-Jones
- Re: Haskell 98 draft report Simon Peyton-Jones
- Re: Haskell 98 draft report Lennart Augustsson
- Re: Haskell 98 draft report Keith Wansbrough
- Re: Haskell 98 draft report Hans Aberg
- RE: Haskell 98 draft report Hans Aberg
- Re: Haskell 98 draft report Matthew Donadio