[Haskell-cafe] Directed rounding in haskell ?
Dominik Peteler
haskell at with-h.at
Fri Apr 11 11:16:29 UTC 2014
On Thu 2014-04-10 16:15, Alp Mestanogullari wrote:
> Maybe these packages could be relevant/useful:
> - https://github.com/ekmett/rounded
Very interesting, thank you.
How does it compare to hmpfr[1] ?
Regards
Dominik
[1] http://hackage.haskell.org/package/hmpfr
> - https://github.com/ekmett/intervals
>
>
> On Mon, Apr 7, 2014 at 4:12 PM, Dominik Peteler <haskell at with-h.at> wrote:
>
> > Hello list,
> >
> > I'm going to implement an interval arithmetic library (following the IEEE
> > P1788) in Haskell and for
> > that I need support for directed rounding to the nearest floating point
> > number. I had a quick look at the Decimal package which comes with the
> > `roundTo` function for rounding to a specified number of decimal places
> > but it doesn't provide directed rounding.
> > Is there way to get directed rounding to to the nearest float (maybe
> > even with machine floats) ?
> >
> > I'm also aware of the AERN-* packages but they seem to be unmaintained. At
> > least there is no version which builds with the current GHC. Does
> > anybody know something about that ?
> >
> > Regards
> >
> > dominik
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> >
>
>
> --
> Alp Mestanogullari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140411/191c2d22/attachment.sig>
More information about the Haskell-Cafe
mailing list