<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You can set the rounding mode directly
      with ieee-utils.<br>
      <br>
      Apparently it doesn't compile anymore, so someone has uploaded a
      temporary replacement:
      <a class="moz-txt-link-freetext" href="http://hackage.haskell.org/package/ieee-utils-tempfix-0.4.0.1">http://hackage.haskell.org/package/ieee-utils-tempfix-0.4.0.1</a><br>
      <br>
      The primary maintainer of the original package left the haskell
      community some time ago. (I contributed some additional code many
      years ago).
      <meta charset="utf-8">
      <span style="color: rgb(0, 0, 0); font-family: sans-serif;
        font-size: 14.44444465637207px; font-style: normal;
        font-variant: normal; font-weight: normal; letter-spacing:
        normal; line-height: 22.814817428588867px; orphans: auto;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: auto; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); display: inline !important; float: none;">Michal Konecny
        -- would you be interested in taking over maintainership?<br>
        <br>
        -s<br>
      </span><br>
      On 4/7/14, 10:12 AM, Dominik Peteler wrote:<br>
    </div>
    <blockquote cite="mid:20140407141231.GA3594@fuckup" type="cite">
      <pre wrap="">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
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Haskell-Cafe mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>