[Haskell-cafe] Re: Why 'round' does not just round numbers ?

Felipe Lessa felipe.lessa at gmail.com
Mon Oct 27 08:27:54 EDT 2008

On Mon, Oct 27, 2008 at 10:20 AM, Achim Schneider <barsoap at web.de> wrote:
> Hmmm... I'm wondering whether there's a standard C way to set the
> rounding direction.

nearbyint() and rint() may be used, and the rounding mode can be set
by fesetround(). IIRC, this is C99.


More information about the Haskell-Cafe mailing list