Copyright | (c) Aleš Bizjak |
---|---|

License | BSD3 |

Maintainer | mikkonecny@gmail.com |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell98 |

Conversion from basic MPFR back to basic Haskell types. See http://www.mpfr.org/mpfr-current/mpfr.html#Conversion-Functions for documentation on particular functions.

- toDouble :: RoundMode -> MPFR -> Double
- toDouble2exp :: RoundMode -> MPFR -> (Double, Int)
- toInt :: RoundMode -> MPFR -> Int
- toWord :: RoundMode -> MPFR -> Word
- mpfrToString :: RoundMode -> Word -> Word -> MPFR -> (String, Exp)
- fitsULong :: RoundMode -> MPFR -> Bool
- fitsSLong :: RoundMode -> MPFR -> Bool
- fitsUInt :: RoundMode -> MPFR -> Bool
- fitsSInt :: RoundMode -> MPFR -> Bool
- fitsUShort :: RoundMode -> MPFR -> Bool
- fitsSShort :: RoundMode -> MPFR -> Bool
- decompose :: MPFR -> (Integer, Exp)
- toStringExp :: Word -> MPFR -> String
- toString :: Word -> MPFR -> String