| Copyright | (C) 2012-2014 Edward Kmett Daniel Peebles (C) 2013-2017 Claude Heiland-Allen |
|---|---|
| License | BSD3 |
| Maintainer | Claude Heiland-Allen <[email protected]> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Numeric.MPFR.Raw
Description
This module contains FFI imports. In a future release they may switch
at runtime between safe and unsafe calls depending on cost estimates, but
for now thie module simply re-exports Safe.
Note: beware issues with the GHC threaded runtime if you need the MPFR
status flags (which use OS thread local storage aka TLS). Even if you use
forkOS to create a bound thread whose FFI will all be
done by the same OS thread, sparks created with par
may run on a different OS thread and lead to unpredictable behaviour.
Documentation
module Numeric.MPFR.Raw.Safe