[Haskell-cafe] ANN: hmpfr-0.3.2 (requires integer-simple, supports mpfr 3.0.0)

Michal Konečný mik at konecny.aow.cz
Thu Mar 3 17:40:12 CET 2011


Dear all,

I am pleased to announce hmpfr-0.3.2, a new version of Aleš Bizjak's bindings 
to the MPFR arbitrary precision floating point arithmetic library.  The 
changes in this version are quite small but significant:

- support for MPFR 3.0.0 as well as MPFR 2.4.*
- dependency on integer-simple instead of integer-gmp

The latter is most significant because unfortunately it makes it rather more 
difficult to install hmpfr.   Currently almost all binary distributions of ghc 
have integer-gmp compiled in to provide the Integer type via the standard GMP 
library.  Also haskell platform 2010.2.0.0 assumes that ghc has been compiled 
with integer-gmp although it makes no specific use of it.  Instructions on how 
to compile ghc and haskell platform with integer-simple instead of integer-gmp 
are on:

http://code.google.com/p/hmpfr/wiki/GHCWithoutGMP

The rationale for this change is the fact that despite much effort hmpfr is 
very unreliable on ghc that includes integer-gmp due to ghc deallocating GMP 
data that was allocated by MPFR at unpredictable times.

Aleš and I hope that hmpfr can return to using integer-gmp once the proposal 

http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes#BinaryDropinReplacementforGMP

to replace gmp with a modified gmp in ghc is implemented and made the default.

Best regards,
Michal
-- 
|o| Michal Konecny <mikkonecny at gmail.com>
|o|    http://www-users.aston.ac.uk/~konecnym/
|o|    office: (+42) (0)121 204 3462 
|o| PGP key http://www-users.aston.ac.uk/~konecnym/ki.aston
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110303/e7aedad9/attachment.pgp>


More information about the Haskell-Cafe mailing list