2009/7/23 Matthias Görgens <matthias.goerg...@googlemail.com>: >> Couldn't the same be said for round-to-even, instead of rounding down >> like every other language? I doubt any beginners have ever expected >> it, but it's probably better. > > What do you mean with round-to-even? For rounding down there's floor.
Round-to-even means x.5 gets rounded to x if x is even and x+1 if x is odd. This is sometimes known as banker's rounding. The most common alternative is round-half-up. --Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe