[Haskell-cafe] Re: Why 'round' does not just round numbers ?
Achim Schneider
barsoap at web.de
Mon Oct 27 08:20:34 EDT 2008
Henning Thielemann <lemming at henning-thielemann.de> wrote:
>
> On Mon, 27 Oct 2008, L.Guo wrote:
>
> > And then, in haskell, is that means, I have to use 'floor . (.5+)'
> > instead of 'round' to get the common round function ?
>
> That's certainly the best to do.
>
Hmmm... I'm wondering whether there's a standard C way to set the
rounding direction.
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.
More information about the Haskell-Cafe
mailing list