| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Number.MPFR.FFIhelper
Documentation
Constructors
| Near | |
| Zero | |
| Up | |
| Down | |
| MPFR_RNDNA |
Instances
| Enum RoundMode # | |
Defined in Data.Number.MPFR.FFIhelper Methods succ :: RoundMode -> RoundMode # pred :: RoundMode -> RoundMode # fromEnum :: RoundMode -> Int # enumFrom :: RoundMode -> [RoundMode] # enumFromThen :: RoundMode -> RoundMode -> [RoundMode] # enumFromTo :: RoundMode -> RoundMode -> [RoundMode] # enumFromThenTo :: RoundMode -> RoundMode -> RoundMode -> [RoundMode] # | |
| Read RoundMode # | |
| Show RoundMode # | |
Constructors
| MP | |
Fields
| |
Instances
Instances
| Enum Precision # | |
Defined in Data.Number.MPFR.FFIhelper Methods succ :: Precision -> Precision # pred :: Precision -> Precision # fromEnum :: Precision -> Int # enumFrom :: Precision -> [Precision] # enumFromThen :: Precision -> Precision -> [Precision] # enumFromTo :: Precision -> Precision -> [Precision] # enumFromThenTo :: Precision -> Precision -> Precision -> [Precision] # | |
| Eq Precision # | |
| Integral Precision # | |
Defined in Data.Number.MPFR.FFIhelper Methods quot :: Precision -> Precision -> Precision # rem :: Precision -> Precision -> Precision # div :: Precision -> Precision -> Precision # mod :: Precision -> Precision -> Precision # quotRem :: Precision -> Precision -> (Precision, Precision) # divMod :: Precision -> Precision -> (Precision, Precision) # | |
| Num Precision # | |
Defined in Data.Number.MPFR.FFIhelper | |
| Ord Precision # | |
| Real Precision # | |
Defined in Data.Number.MPFR.FFIhelper Methods toRational :: Precision -> Rational # | |
| Show Precision # | |
bitsPerMPLimb :: Int #
type CRoundMode = CInt #
type CPrecision = Int64 #
new_gmp_randstate :: IO (Ptr GmpRandState) #
mpfr_urandomb_deref_randstate :: Ptr MPFR -> Ptr GmpRandState -> IO Int #
type GmpRandState = () #
mpfr_get_prec :: Ptr MPFR -> IO CPrecision #
mpfr_set_ui :: Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_set_si :: Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_set_d :: Ptr MPFR -> CDouble -> CRoundMode -> IO CInt #
mpfr_set_ui_2exp :: Ptr MPFR -> CULong -> Exp -> CRoundMode -> IO CInt #
mpfr_set_si_2exp :: Ptr MPFR -> CLong -> Exp -> CRoundMode -> IO CInt #
mpfr_set_str :: Ptr MPFR -> CString -> CInt -> CRoundMode -> IO CInt #
mpfr_set_nan :: Ptr MPFR -> IO () #
mpfr_get_d :: Ptr MPFR -> CRoundMode -> IO CDouble #
mpfr_get_d_2exp :: Ptr CLong -> Ptr MPFR -> CRoundMode -> IO CDouble #
mpfr_get_si :: Ptr MPFR -> CRoundMode -> IO CLong #
mpfr_get_ui :: Ptr MPFR -> CRoundMode -> IO CULong #
mpfr_free_str :: CString -> IO () #
mpfr_fits_ulong_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_slong_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_uint_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_sint_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_ushort_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_sshort_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_intmax_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fits_uintmax_p :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_add_ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_add_si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_add_d :: Ptr MPFR -> Ptr MPFR -> CDouble -> CRoundMode -> IO CInt #
mpfr_ui_sub :: Ptr MPFR -> CULong -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_sub_ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_si_sub :: Ptr MPFR -> CLong -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_sub_si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_sub_d :: Ptr MPFR -> Ptr MPFR -> CDouble -> CRoundMode -> IO CInt #
mpfr_d_sub :: Ptr MPFR -> CDouble -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_mul_ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_mul_si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_mul_d :: Ptr MPFR -> Ptr MPFR -> CDouble -> CRoundMode -> IO CInt #
mpfr_ui_div :: Ptr MPFR -> CULong -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_div_ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_si_div :: Ptr MPFR -> CLong -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_div_si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_div_d :: Ptr MPFR -> Ptr MPFR -> CDouble -> CRoundMode -> IO CInt #
mpfr_d_div :: Ptr MPFR -> CDouble -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_sqrt_ui :: Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_rec_sqrt :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_pow_ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_pow_si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_ui_pow_ui :: Ptr MPFR -> CULong -> CULong -> CRoundMode -> IO CInt #
mpfr_ui_pow :: Ptr MPFR -> CULong -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_mul_2ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_mul_2si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_div_2ui :: Ptr MPFR -> Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_div_2si :: Ptr MPFR -> Ptr MPFR -> CLong -> CRoundMode -> IO CInt #
mpfr_log10 :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_exp10 :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_asinh :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_acosh :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_atanh :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_fac_ui :: Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_log1p :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_expm1 :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_gamma :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_lngamma :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_digamma :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_zeta_ui :: Ptr MPFR -> CULong -> CRoundMode -> IO CInt #
mpfr_const_log2 :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_const_pi :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_const_euler :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_const_catalan :: Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_free_cache :: IO () #
mpfr_rint_ceil :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_rint_floor :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_rint_round :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_rint_trunc :: Ptr MPFR -> Ptr MPFR -> CRoundMode -> IO CInt #
mpfr_nextabove :: Ptr MPFR -> IO () #
mpfr_nextbelow :: Ptr MPFR -> IO () #
mpfr_urandomb :: Ptr MPFR -> Ptr GmpRandState -> IO () #
mpfr_setsign :: Ptr MPFR -> Ptr MPFR -> CInt -> CRoundMode -> IO CInt #
mpfr_get_emin :: IO Exp #
mpfr_get_emax :: IO Exp #
mpfr_set_emin :: Exp -> IO CInt #
mpfr_set_emax :: Exp -> IO CInt #
mpfr_get_emin_min :: IO Exp #
mpfr_get_emin_max :: IO Exp #
mpfr_get_emax_min :: IO Exp #
mpfr_get_emax_max :: IO Exp #
mpfr_check_range :: Ptr MPFR -> CInt -> CRoundMode -> IO CInt #
mpfr_subnormalize :: Ptr MPFR -> CInt -> CRoundMode -> IO CInt #
mpfr_clear_underflow :: IO () #
mpfr_clear_overflow :: IO () #
mpfr_clear_nanflag :: IO () #
mpfr_clear_inexflag :: IO () #
mpfr_clear_erangeflag :: IO () #
mpfr_set_underflow :: IO () #
mpfr_set_overflow :: IO () #
mpfr_set_nanflag :: IO () #
mpfr_set_inexflag :: IO () #
mpfr_set_erangeflag :: IO () #
mpfr_clear_flags :: IO () #
mpfr_underflow_p :: IO CInt #
mpfr_overflow_p :: IO CInt #
mpfr_nanflag_p :: IO CInt #
mpfr_inexflag_p :: IO CInt #
mpfr_erangeflag_p :: IO CInt #
mpfr_custom_get_size :: CPrecision -> IO Word64 #
mpfr_custom_init :: Ptr Word64 -> CPrecision -> IO () #
mpfr_custom_init_set :: Ptr MPFR -> CInt -> Exp -> CPrecision -> Ptr Limb -> IO () #