hmpfr-0.4.4: Haskell binding to the MPFR library

Copyright(c) Aleš Bizjak
LicenseBSD3
Maintainermikkonecny@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Data.Number.MPFR.Mutable.Arithmetic

Description

For documentation on particular functions see http://www.mpfr.org/mpfr-current/mpfr.html#Basic-Arithmetic-Functions.

Documentation

add :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

addw :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

addi :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

addd :: MMPFR s -> MMPFR s -> Double -> RoundMode -> ST s Int Source #

sub :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

subw :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

subi :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

subd :: MMPFR s -> MMPFR s -> Double -> RoundMode -> ST s Int Source #

wsub :: MMPFR s -> Word -> MMPFR s -> RoundMode -> ST s Int Source #

isub :: MMPFR s -> Int -> MMPFR s -> RoundMode -> ST s Int Source #

dsub :: MMPFR s -> Double -> MMPFR s -> RoundMode -> ST s Int Source #

mul :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

mulw :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

muli :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

muld :: MMPFR s -> MMPFR s -> Double -> RoundMode -> ST s Int Source #

sqr :: MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

div :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

divw :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

divi :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

divd :: MMPFR s -> MMPFR s -> Double -> RoundMode -> ST s Int Source #

wdiv :: MMPFR s -> Word -> MMPFR s -> RoundMode -> ST s Int Source #

idiv :: MMPFR s -> Int -> MMPFR s -> RoundMode -> ST s Int Source #

ddiv :: MMPFR s -> Double -> MMPFR s -> RoundMode -> ST s Int Source #

sqrt :: MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

cbrt :: MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

root :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

pow :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

poww :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

powi :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

wpow :: MMPFR s -> Word -> MMPFR s -> RoundMode -> ST s Int Source #

neg :: MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

absD :: MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

dim :: MMPFR s -> MMPFR s -> MMPFR s -> RoundMode -> ST s Int Source #

mul2w :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

mul2i :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #

div2w :: MMPFR s -> MMPFR s -> Word -> RoundMode -> ST s Int Source #

div2i :: MMPFR s -> MMPFR s -> Int -> RoundMode -> ST s Int Source #