w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mpfr.h File Reference
#include <gmp.h>
Include dependency graph for mpfr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mpfr_struct
 

Macros

#define MPFR_VERSION_MAJOR   4
 
#define MPFR_VERSION_MINOR   1
 
#define MPFR_VERSION_PATCHLEVEL   0
 
#define MPFR_VERSION_STRING   "4.1.0"
 
#define MPFR_VERSION_NUM(a, b, c)   (((a) << 16L) | ((b) << 8) | (c))
 
#define MPFR_VERSION   MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL)
 
#define MPFR_FLAGS_UNDERFLOW   1
 
#define MPFR_FLAGS_OVERFLOW   2
 
#define MPFR_FLAGS_NAN   4
 
#define MPFR_FLAGS_INEXACT   8
 
#define MPFR_FLAGS_ERANGE   16
 
#define MPFR_FLAGS_DIVBY0   32
 
#define MPFR_FLAGS_ALL
 
#define GMP_RNDN   MPFR_RNDN
 
#define GMP_RNDZ   MPFR_RNDZ
 
#define GMP_RNDU   MPFR_RNDU
 
#define GMP_RNDD   MPFR_RNDD
 
#define _MPFR_PREC_FORMAT   3
 
#define _MPFR_EXP_FORMAT   _MPFR_PREC_FORMAT
 
#define MPFR_PREC_MIN   1
 
#define MPFR_PREC_MAX   ((mpfr_prec_t) ((((mpfr_uprec_t) -1) >> 1) - 256))
 
#define MPFR_EMAX_DEFAULT   ((mpfr_exp_t) (((mpfr_ulong) 1 << 30) - 1))
 
#define MPFR_EMIN_DEFAULT   (-(MPFR_EMAX_DEFAULT))
 
#define __MPFR_EXP_MAX   ((mpfr_exp_t) (((mpfr_uexp_t) -1) >> 1))
 
#define __MPFR_EXP_NAN   (1 - __MPFR_EXP_MAX)
 
#define __MPFR_EXP_ZERO   (0 - __MPFR_EXP_MAX)
 
#define __MPFR_EXP_INF   (2 - __MPFR_EXP_MAX)
 
#define mp_rnd_t   mpfr_rnd_t
 
#define mp_prec_t   mpfr_prec_t
 
#define MPFR_SIGN(x)   ((x)->_mpfr_sign)
 
#define __MPFR_SENTINEL_ATTR
 
#define MPFR_USE_C99_FEATURE   0
 
#define __MPFR_DECLSPEC   __GMP_DECLSPEC
 
#define MPFR_DEPRECATED
 
#define MPFR_RETURNS_NONNULL
 
#define MPFR_EXTENSION
 
#define MPFR_DECL_INIT(_x, _p)
 
#define mpfr_round_nearest_away(func, rop, op)
 
#define mpfr_nan_p(_x)   ((_x)->_mpfr_exp == __MPFR_EXP_NAN)
 
#define mpfr_inf_p(_x)   ((_x)->_mpfr_exp == __MPFR_EXP_INF)
 
#define mpfr_zero_p(_x)   ((_x)->_mpfr_exp == __MPFR_EXP_ZERO)
 
#define mpfr_regular_p(_x)   ((_x)->_mpfr_exp > __MPFR_EXP_INF)
 
#define mpfr_sgn(_x)
 
#define MPFR_VALUE_OF(x)   (0 ? (x) : (x))
 
#define mpfr_get_prec(_x)   MPFR_VALUE_OF((_x)->_mpfr_prec)
 
#define mpfr_get_exp(_x)   MPFR_VALUE_OF((_x)->_mpfr_exp)
 
#define mpfr_round(a, b)   mpfr_rint((a), (b), MPFR_RNDNA)
 
#define mpfr_trunc(a, b)   mpfr_rint((a), (b), MPFR_RNDZ)
 
#define mpfr_ceil(a, b)   mpfr_rint((a), (b), MPFR_RNDU)
 
#define mpfr_floor(a, b)   mpfr_rint((a), (b), MPFR_RNDD)
 
#define mpfr_cmp_ui(b, i)   mpfr_cmp_ui_2exp((b),(i),0)
 
#define mpfr_cmp_si(b, i)   mpfr_cmp_si_2exp((b),(i),0)
 
#define mpfr_set(a, b, r)   mpfr_set4(a,b,r,MPFR_SIGN(b))
 
#define mpfr_abs(a, b, r)   mpfr_set4(a,b,r,1)
 
#define mpfr_copysign(a, b, c, r)   mpfr_set4(a,b,r,MPFR_SIGN(c))
 
#define mpfr_setsign(a, b, s, r)   mpfr_set4(a,b,r,(s) ? -1 : 1)
 
#define mpfr_signbit(x)   (MPFR_SIGN(x) < 0)
 
#define mpfr_cmp(b, c)   mpfr_cmp3(b, c, 1)
 
#define mpfr_mul_2exp(y, x, n, r)   mpfr_mul_2ui((y),(x),(n),(r))
 
#define mpfr_div_2exp(y, x, n, r)   mpfr_div_2ui((y),(x),(n),(r))
 
#define mpfr_custom_get_size(p)
 
#define mpfr_custom_init(m, p)   do {} while (0)
 
#define mpfr_custom_get_significand(x)   ((mpfr_void*)((x)->_mpfr_d))
 
#define mpfr_custom_get_exp(x)   ((x)->_mpfr_exp)
 
#define mpfr_custom_move(x, m)   do { ((x)->_mpfr_d = (mp_limb_t*)(m)); } while (0)
 
#define mpfr_custom_init_set(x, k, e, p, m)
 
#define mpfr_custom_get_kind(x)
 
#define mpfr_init_set_si(x, i, rnd)    ( mpfr_init(x), mpfr_set_si((x), (i), (rnd)) )
 
#define mpfr_init_set_ui(x, i, rnd)    ( mpfr_init(x), mpfr_set_ui((x), (i), (rnd)) )
 
#define mpfr_init_set_d(x, d, rnd)    ( mpfr_init(x), mpfr_set_d((x), (d), (rnd)) )
 
#define mpfr_init_set_ld(x, d, rnd)    ( mpfr_init(x), mpfr_set_ld((x), (d), (rnd)) )
 
#define mpfr_init_set_z(x, i, rnd)    ( mpfr_init(x), mpfr_set_z((x), (i), (rnd)) )
 
#define mpfr_init_set_q(x, i, rnd)    ( mpfr_init(x), mpfr_set_q((x), (i), (rnd)) )
 
#define mpfr_init_set_f(x, y, rnd)    ( mpfr_init(x), mpfr_set_f((x), (y), (rnd)) )
 
#define mpfr_init_set(x, y, rnd)    ( mpfr_init(x), mpfr_set((x), (y), (rnd)) )
 
#define mpfr_cmp_abs   mpfr_cmpabs
 
#define mpfr_round_prec(x, r, p)   mpfr_prec_round(x,p,r)
 
#define __gmp_default_rounding_mode   (mpfr_get_default_rounding_mode())
 
#define __mpfr_emin   (mpfr_get_emin())
 
#define __mpfr_emax   (mpfr_get_emax())
 
#define __mpfr_default_fp_bit_precision   (mpfr_get_default_fp_bit_precision())
 
#define MPFR_EMIN_MIN   mpfr_get_emin_min()
 
#define MPFR_EMIN_MAX   mpfr_get_emin_max()
 
#define MPFR_EMAX_MIN   mpfr_get_emax_min()
 
#define MPFR_EMAX_MAX   mpfr_get_emax_max()
 
#define mpfr_version   (mpfr_get_version())
 
#define mpz_set_fr   mpfr_get_z
 
#define mpfr_get_z_exp   mpfr_get_z_2exp
 
#define mpfr_custom_get_mantissa   mpfr_custom_get_significand
 

Typedefs

typedef void mpfr_void
 
typedef int mpfr_int
 
typedef unsigned int mpfr_uint
 
typedef long mpfr_long
 
typedef unsigned long mpfr_ulong
 
typedef size_t mpfr_size_t
 
typedef unsigned int mpfr_flags_t
 
typedef long mpfr_prec_t
 
typedef unsigned long mpfr_uprec_t
 
typedef int mpfr_sign_t
 
typedef long mpfr_exp_t
 
typedef unsigned long mpfr_uexp_t
 
typedef __mpfr_struct mpfr_t[1]
 
typedef __mpfr_structmpfr_ptr
 
typedef const __mpfr_structmpfr_srcptr
 

Enumerations

enum  mpfr_rnd_t {
  MPFR_RNDN =0 , MPFR_RNDZ , MPFR_RNDU , MPFR_RNDD ,
  MPFR_RNDA , MPFR_RNDF , MPFR_RNDNA =-1
}
 
enum  mpfr_kind_t { MPFR_NAN_KIND = 0 , MPFR_INF_KIND = 1 , MPFR_ZERO_KIND = 2 , MPFR_REGULAR_KIND = 3 }
 
enum  mpfr_free_cache_t { MPFR_FREE_LOCAL_CACHE = 1 , MPFR_FREE_GLOBAL_CACHE = 2 }
 

Functions

const char * mpfr_get_version (void)
 
const char * mpfr_get_patches (void)
 
int mpfr_buildopt_tls_p (void)
 
int mpfr_buildopt_float128_p (void)
 
int mpfr_buildopt_decimal_p (void)
 
int mpfr_buildopt_gmpinternals_p (void)
 
int mpfr_buildopt_sharedcache_p (void)
 
const char * mpfr_buildopt_tune_case (void)
 
mpfr_exp_t mpfr_get_emin (void)
 
int mpfr_set_emin (mpfr_exp_t)
 
mpfr_exp_t mpfr_get_emin_min (void)
 
mpfr_exp_t mpfr_get_emin_max (void)
 
mpfr_exp_t mpfr_get_emax (void)
 
int mpfr_set_emax (mpfr_exp_t)
 
mpfr_exp_t mpfr_get_emax_min (void)
 
mpfr_exp_t mpfr_get_emax_max (void)
 
void mpfr_set_default_rounding_mode (mpfr_rnd_t)
 
mpfr_rnd_t mpfr_get_default_rounding_mode (void)
 
const char * mpfr_print_rnd_mode (mpfr_rnd_t)
 
void mpfr_clear_flags (void)
 
void mpfr_clear_underflow (void)
 
void mpfr_clear_overflow (void)
 
void mpfr_clear_divby0 (void)
 
void mpfr_clear_nanflag (void)
 
void mpfr_clear_inexflag (void)
 
void mpfr_clear_erangeflag (void)
 
void mpfr_set_underflow (void)
 
void mpfr_set_overflow (void)
 
void mpfr_set_divby0 (void)
 
void mpfr_set_nanflag (void)
 
void mpfr_set_inexflag (void)
 
void mpfr_set_erangeflag (void)
 
int mpfr_underflow_p (void)
 
int mpfr_overflow_p (void)
 
int mpfr_divby0_p (void)
 
int mpfr_nanflag_p (void)
 
int mpfr_inexflag_p (void)
 
int mpfr_erangeflag_p (void)
 
void mpfr_flags_clear (mpfr_flags_t)
 
void mpfr_flags_set (mpfr_flags_t)
 
mpfr_flags_t mpfr_flags_test (mpfr_flags_t)
 
mpfr_flags_t mpfr_flags_save (void)
 
void mpfr_flags_restore (mpfr_flags_t, mpfr_flags_t)
 
int mpfr_check_range (mpfr_ptr, int, mpfr_rnd_t)
 
void mpfr_init2 (mpfr_ptr, mpfr_prec_t)
 
void mpfr_init (mpfr_ptr)
 
void mpfr_clear (mpfr_ptr)
 
void mpfr_inits2 (mpfr_prec_t, mpfr_ptr,...)
 
void mpfr_inits (mpfr_ptr,...)
 
void mpfr_clears (mpfr_ptr,...)
 
int mpfr_prec_round (mpfr_ptr, mpfr_prec_t, mpfr_rnd_t)
 
int mpfr_can_round (mpfr_srcptr, mpfr_exp_t, mpfr_rnd_t, mpfr_rnd_t, mpfr_prec_t)
 
mpfr_prec_t mpfr_min_prec (mpfr_srcptr)
 
mpfr_exp_t mpfr_get_exp (mpfr_srcptr)
 
int mpfr_set_exp (mpfr_ptr, mpfr_exp_t)
 
mpfr_prec_t mpfr_get_prec (mpfr_srcptr)
 
void mpfr_set_prec (mpfr_ptr, mpfr_prec_t)
 
void mpfr_set_prec_raw (mpfr_ptr, mpfr_prec_t)
 
void mpfr_set_default_prec (mpfr_prec_t)
 
mpfr_prec_t mpfr_get_default_prec (void)
 
int mpfr_set_d (mpfr_ptr, double, mpfr_rnd_t)
 
int mpfr_set_flt (mpfr_ptr, float, mpfr_rnd_t)
 
int mpfr_set_ld (mpfr_ptr, long double, mpfr_rnd_t)
 
int mpfr_set_z (mpfr_ptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_set_z_2exp (mpfr_ptr, mpz_srcptr, mpfr_exp_t, mpfr_rnd_t)
 
void mpfr_set_nan (mpfr_ptr)
 
void mpfr_set_inf (mpfr_ptr, int)
 
void mpfr_set_zero (mpfr_ptr, int)
 
int mpfr_set_f (mpfr_ptr, mpf_srcptr, mpfr_rnd_t)
 
int mpfr_cmp_f (mpfr_srcptr, mpf_srcptr)
 
int mpfr_get_f (mpf_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_set_si (mpfr_ptr, long, mpfr_rnd_t)
 
int mpfr_set_ui (mpfr_ptr, unsigned long, mpfr_rnd_t)
 
int mpfr_set_si_2exp (mpfr_ptr, long, mpfr_exp_t, mpfr_rnd_t)
 
int mpfr_set_ui_2exp (mpfr_ptr, unsigned long, mpfr_exp_t, mpfr_rnd_t)
 
int mpfr_set_q (mpfr_ptr, mpq_srcptr, mpfr_rnd_t)
 
int mpfr_mul_q (mpfr_ptr, mpfr_srcptr, mpq_srcptr, mpfr_rnd_t)
 
int mpfr_div_q (mpfr_ptr, mpfr_srcptr, mpq_srcptr, mpfr_rnd_t)
 
int mpfr_add_q (mpfr_ptr, mpfr_srcptr, mpq_srcptr, mpfr_rnd_t)
 
int mpfr_sub_q (mpfr_ptr, mpfr_srcptr, mpq_srcptr, mpfr_rnd_t)
 
int mpfr_cmp_q (mpfr_srcptr, mpq_srcptr)
 
void mpfr_get_q (mpq_ptr q, mpfr_srcptr f)
 
int mpfr_set_str (mpfr_ptr, const char *, int, mpfr_rnd_t)
 
int mpfr_init_set_str (mpfr_ptr, const char *, int, mpfr_rnd_t)
 
int mpfr_set4 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t, int)
 
int mpfr_abs (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_set (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_neg (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_signbit (mpfr_srcptr)
 
int mpfr_setsign (mpfr_ptr, mpfr_srcptr, int, mpfr_rnd_t)
 
int mpfr_copysign (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
mpfr_exp_t mpfr_get_z_2exp (mpz_ptr, mpfr_srcptr)
 
float mpfr_get_flt (mpfr_srcptr, mpfr_rnd_t)
 
double mpfr_get_d (mpfr_srcptr, mpfr_rnd_t)
 
long double mpfr_get_ld (mpfr_srcptr, mpfr_rnd_t)
 
double mpfr_get_d1 (mpfr_srcptr)
 
double mpfr_get_d_2exp (long *, mpfr_srcptr, mpfr_rnd_t)
 
long double mpfr_get_ld_2exp (long *, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_frexp (mpfr_exp_t *, mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
long mpfr_get_si (mpfr_srcptr, mpfr_rnd_t)
 
unsigned long mpfr_get_ui (mpfr_srcptr, mpfr_rnd_t)
 
size_t mpfr_get_str_ndigits (int, mpfr_prec_t)
 
char * mpfr_get_str (char *, mpfr_exp_t *, int, size_t, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_get_z (mpz_ptr z, mpfr_srcptr f, mpfr_rnd_t)
 
void mpfr_free_str (char *)
 
int mpfr_urandom (mpfr_ptr, gmp_randstate_t, mpfr_rnd_t)
 
int mpfr_grandom (mpfr_ptr, mpfr_ptr, gmp_randstate_t, mpfr_rnd_t)
 
int mpfr_nrandom (mpfr_ptr, gmp_randstate_t, mpfr_rnd_t)
 
int mpfr_erandom (mpfr_ptr, gmp_randstate_t, mpfr_rnd_t)
 
int mpfr_urandomb (mpfr_ptr, gmp_randstate_t)
 
void mpfr_nextabove (mpfr_ptr)
 
void mpfr_nextbelow (mpfr_ptr)
 
void mpfr_nexttoward (mpfr_ptr, mpfr_srcptr)
 
int mpfr_printf (const char *,...)
 
int mpfr_asprintf (char **, const char *,...)
 
int mpfr_sprintf (char *, const char *,...)
 
int mpfr_snprintf (char *, size_t, const char *,...)
 
int mpfr_pow (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_pow_si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_pow_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_ui_pow_ui (mpfr_ptr, unsigned long, unsigned long, mpfr_rnd_t)
 
int mpfr_ui_pow (mpfr_ptr, unsigned long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_pow_z (mpfr_ptr, mpfr_srcptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_sqrt (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sqrt_ui (mpfr_ptr, unsigned long, mpfr_rnd_t)
 
int mpfr_rec_sqrt (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_add (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sub (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_mul (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_div (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_add_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_sub_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_ui_sub (mpfr_ptr, unsigned long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_mul_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_div_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_ui_div (mpfr_ptr, unsigned long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_add_si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_sub_si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_si_sub (mpfr_ptr, long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_mul_si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_div_si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_si_div (mpfr_ptr, long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_add_d (mpfr_ptr, mpfr_srcptr, double, mpfr_rnd_t)
 
int mpfr_sub_d (mpfr_ptr, mpfr_srcptr, double, mpfr_rnd_t)
 
int mpfr_d_sub (mpfr_ptr, double, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_mul_d (mpfr_ptr, mpfr_srcptr, double, mpfr_rnd_t)
 
int mpfr_div_d (mpfr_ptr, mpfr_srcptr, double, mpfr_rnd_t)
 
int mpfr_d_div (mpfr_ptr, double, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sqr (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_const_pi (mpfr_ptr, mpfr_rnd_t)
 
int mpfr_const_log2 (mpfr_ptr, mpfr_rnd_t)
 
int mpfr_const_euler (mpfr_ptr, mpfr_rnd_t)
 
int mpfr_const_catalan (mpfr_ptr, mpfr_rnd_t)
 
int mpfr_agm (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_log (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_log2 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_log10 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_log1p (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_log_ui (mpfr_ptr, unsigned long, mpfr_rnd_t)
 
int mpfr_exp (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_exp2 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_exp10 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_expm1 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_eint (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_li2 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cmp (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_cmp3 (mpfr_srcptr, mpfr_srcptr, int)
 
int mpfr_cmp_d (mpfr_srcptr, double)
 
int mpfr_cmp_ld (mpfr_srcptr, long double)
 
int mpfr_cmp_ui (mpfr_srcptr, unsigned long)
 
int mpfr_cmp_si (mpfr_srcptr, long)
 
int mpfr_cmp_ui_2exp (mpfr_srcptr, unsigned long, mpfr_exp_t)
 
int mpfr_cmp_si_2exp (mpfr_srcptr, long, mpfr_exp_t)
 
int mpfr_cmpabs (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_cmpabs_ui (mpfr_srcptr, unsigned long)
 
void mpfr_reldiff (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_eq (mpfr_srcptr, mpfr_srcptr, unsigned long)
 
int mpfr_sgn (mpfr_srcptr)
 
int mpfr_mul_2exp (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_div_2exp (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_mul_2ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_div_2ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_mul_2si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_div_2si (mpfr_ptr, mpfr_srcptr, long, mpfr_rnd_t)
 
int mpfr_rint (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_roundeven (mpfr_ptr, mpfr_srcptr)
 
int mpfr_round (mpfr_ptr, mpfr_srcptr)
 
int mpfr_trunc (mpfr_ptr, mpfr_srcptr)
 
int mpfr_ceil (mpfr_ptr, mpfr_srcptr)
 
int mpfr_floor (mpfr_ptr, mpfr_srcptr)
 
int mpfr_rint_roundeven (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_rint_round (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_rint_trunc (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_rint_ceil (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_rint_floor (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_frac (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_modf (mpfr_ptr, mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_remquo (mpfr_ptr, long *, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_remainder (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fmod (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fmodquo (mpfr_ptr, long *, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_ulong_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_slong_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_uint_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_sint_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_ushort_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_sshort_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_uintmax_p (mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fits_intmax_p (mpfr_srcptr, mpfr_rnd_t)
 
void mpfr_extract (mpz_ptr, mpfr_srcptr, unsigned int)
 
void mpfr_swap (mpfr_ptr, mpfr_ptr)
 
void mpfr_dump (mpfr_srcptr)
 
int mpfr_nan_p (mpfr_srcptr)
 
int mpfr_inf_p (mpfr_srcptr)
 
int mpfr_number_p (mpfr_srcptr)
 
int mpfr_integer_p (mpfr_srcptr)
 
int mpfr_zero_p (mpfr_srcptr)
 
int mpfr_regular_p (mpfr_srcptr)
 
int mpfr_greater_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_greaterequal_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_less_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_lessequal_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_lessgreater_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_equal_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_unordered_p (mpfr_srcptr, mpfr_srcptr)
 
int mpfr_atanh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_acosh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_asinh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cosh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sinh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_tanh (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sinh_cosh (mpfr_ptr, mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sech (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_csch (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_coth (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_acos (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_asin (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_atan (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sin (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sin_cos (mpfr_ptr, mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cos (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_tan (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_atan2 (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sec (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_csc (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cot (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_hypot (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_erf (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_erfc (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cbrt (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_root (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_rootn_ui (mpfr_ptr, mpfr_srcptr, unsigned long, mpfr_rnd_t)
 
int mpfr_gamma (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_gamma_inc (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_beta (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_lngamma (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_lgamma (mpfr_ptr, int *, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_digamma (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_zeta (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_zeta_ui (mpfr_ptr, unsigned long, mpfr_rnd_t)
 
int mpfr_fac_ui (mpfr_ptr, unsigned long, mpfr_rnd_t)
 
int mpfr_j0 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_j1 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_jn (mpfr_ptr, long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_y0 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_y1 (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_yn (mpfr_ptr, long, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_ai (mpfr_ptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_min (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_max (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_dim (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_mul_z (mpfr_ptr, mpfr_srcptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_div_z (mpfr_ptr, mpfr_srcptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_add_z (mpfr_ptr, mpfr_srcptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_sub_z (mpfr_ptr, mpfr_srcptr, mpz_srcptr, mpfr_rnd_t)
 
int mpfr_z_sub (mpfr_ptr, mpz_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_cmp_z (mpfr_srcptr, mpz_srcptr)
 
int mpfr_fma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fms (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_fmms (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t)
 
int mpfr_sum (mpfr_ptr, const mpfr_ptr *, unsigned long, mpfr_rnd_t)
 
int mpfr_dot (mpfr_ptr, const mpfr_ptr *, const mpfr_ptr *, unsigned long, mpfr_rnd_t)
 
void mpfr_free_cache (void)
 
void mpfr_free_cache2 (mpfr_free_cache_t)
 
void mpfr_free_pool (void)
 
int mpfr_mp_memory_cleanup (void)
 
int mpfr_subnormalize (mpfr_ptr, int, mpfr_rnd_t)
 
int mpfr_strtofr (mpfr_ptr, const char *, char **, int, mpfr_rnd_t)
 
void mpfr_round_nearest_away_begin (mpfr_t)
 
int mpfr_round_nearest_away_end (mpfr_t, int)
 
size_t mpfr_custom_get_size (mpfr_prec_t)
 
void mpfr_custom_init (void *, mpfr_prec_t)
 
voidmpfr_custom_get_significand (mpfr_srcptr)
 
mpfr_exp_t mpfr_custom_get_exp (mpfr_srcptr)
 
void mpfr_custom_move (mpfr_ptr, void *)
 
void mpfr_custom_init_set (mpfr_ptr, int, mpfr_exp_t, mpfr_prec_t, void *)
 
int mpfr_custom_get_kind (mpfr_srcptr)
 
int mpfr_total_order_p (mpfr_srcptr, mpfr_srcptr)
 

Macro Definition Documentation

◆ __gmp_default_rounding_mode

#define __gmp_default_rounding_mode   (mpfr_get_default_rounding_mode())

Definition at line 1033 of file mpfr.h.

◆ __MPFR_DECLSPEC

#define __MPFR_DECLSPEC   __GMP_DECLSPEC

Definition at line 323 of file mpfr.h.

◆ __mpfr_default_fp_bit_precision

#define __mpfr_default_fp_bit_precision   (mpfr_get_default_fp_bit_precision())

Definition at line 1036 of file mpfr.h.

◆ __mpfr_emax

#define __mpfr_emax   (mpfr_get_emax())

Definition at line 1035 of file mpfr.h.

◆ __mpfr_emin

#define __mpfr_emin   (mpfr_get_emin())

Definition at line 1034 of file mpfr.h.

◆ __MPFR_EXP_INF

#define __MPFR_EXP_INF   (2 - __MPFR_EXP_MAX)

Definition at line 221 of file mpfr.h.

◆ __MPFR_EXP_MAX

#define __MPFR_EXP_MAX   ((mpfr_exp_t) (((mpfr_uexp_t) -1) >> 1))

Definition at line 218 of file mpfr.h.

◆ __MPFR_EXP_NAN

#define __MPFR_EXP_NAN   (1 - __MPFR_EXP_MAX)

Definition at line 219 of file mpfr.h.

◆ __MPFR_EXP_ZERO

#define __MPFR_EXP_ZERO   (0 - __MPFR_EXP_MAX)

Definition at line 220 of file mpfr.h.

◆ __MPFR_SENTINEL_ATTR

#define __MPFR_SENTINEL_ATTR

Definition at line 284 of file mpfr.h.

◆ _MPFR_EXP_FORMAT

#define _MPFR_EXP_FORMAT   _MPFR_PREC_FORMAT

Definition at line 144 of file mpfr.h.

◆ _MPFR_PREC_FORMAT

#define _MPFR_PREC_FORMAT   3

Definition at line 137 of file mpfr.h.

◆ GMP_RNDD

#define GMP_RNDD   MPFR_RNDD

Definition at line 116 of file mpfr.h.

◆ GMP_RNDN

#define GMP_RNDN   MPFR_RNDN

Definition at line 113 of file mpfr.h.

◆ GMP_RNDU

#define GMP_RNDU   MPFR_RNDU

Definition at line 115 of file mpfr.h.

◆ GMP_RNDZ

#define GMP_RNDZ   MPFR_RNDZ

Definition at line 114 of file mpfr.h.

◆ mp_prec_t

#define mp_prec_t   mpfr_prec_t

Definition at line 236 of file mpfr.h.

◆ mp_rnd_t

#define mp_rnd_t   mpfr_rnd_t

Definition at line 233 of file mpfr.h.

◆ mpfr_abs

#define mpfr_abs (   a,
  b,
  r 
)    mpfr_set4(a,b,r,1)

Definition at line 865 of file mpfr.h.

◆ mpfr_ceil

#define mpfr_ceil (   a,
  b 
)    mpfr_rint((a), (b), MPFR_RNDU)

Definition at line 859 of file mpfr.h.

◆ mpfr_cmp

#define mpfr_cmp (   b,
  c 
)    mpfr_cmp3(b, c, 1)

Definition at line 869 of file mpfr.h.

◆ mpfr_cmp_abs

#define mpfr_cmp_abs   mpfr_cmpabs

Definition at line 1031 of file mpfr.h.

◆ mpfr_cmp_si

#define mpfr_cmp_si (   b,
  i 
)    mpfr_cmp_si_2exp((b),(i),0)

Definition at line 863 of file mpfr.h.

◆ mpfr_cmp_ui

#define mpfr_cmp_ui (   b,
  i 
)    mpfr_cmp_ui_2exp((b),(i),0)

Definition at line 862 of file mpfr.h.

◆ mpfr_copysign

#define mpfr_copysign (   a,
  b,
  c,
  r 
)    mpfr_set4(a,b,r,MPFR_SIGN(c))

Definition at line 866 of file mpfr.h.

◆ mpfr_custom_get_exp

#define mpfr_custom_get_exp (   x)    ((x)->_mpfr_exp)

Definition at line 969 of file mpfr.h.

◆ mpfr_custom_get_kind

#define mpfr_custom_get_kind (   x)
Value:
( (x)->_mpfr_exp > __MPFR_EXP_INF ? \
: (x)->_mpfr_exp == __MPFR_EXP_INF ? \
: (x)->_mpfr_exp == __MPFR_EXP_NAN ? (mpfr_int) MPFR_NAN_KIND \
#define __MPFR_EXP_INF
Definition: mpfr.h:221
@ MPFR_REGULAR_KIND
Definition: mpfr.h:267
@ MPFR_ZERO_KIND
Definition: mpfr.h:266
@ MPFR_INF_KIND
Definition: mpfr.h:265
@ MPFR_NAN_KIND
Definition: mpfr.h:264
int mpfr_int
Definition: mpfr.h:62
#define MPFR_SIGN(x)
Definition: mpfr.h:260
#define __MPFR_EXP_NAN
Definition: mpfr.h:219
float x
Definition: cordic.py:15

Definition at line 992 of file mpfr.h.

◆ mpfr_custom_get_mantissa

#define mpfr_custom_get_mantissa   mpfr_custom_get_significand

Definition at line 1046 of file mpfr.h.

◆ mpfr_custom_get_significand

#define mpfr_custom_get_significand (   x)    ((mpfr_void*)((x)->_mpfr_d))

Definition at line 968 of file mpfr.h.

◆ mpfr_custom_get_size

#define mpfr_custom_get_size (   p)
Value:
unsigned long long int mp_limb_t
Definition: gmp.h:138
#define GMP_NUMB_BITS
Definition: gmp.h:46
small capitals from c petite p
Definition: afcover.h:72
size_t mpfr_size_t
Definition: mpfr.h:66

Definition at line 965 of file mpfr.h.

◆ mpfr_custom_init

#define mpfr_custom_init (   m,
  p 
)    do {} while (0)

Definition at line 967 of file mpfr.h.

◆ mpfr_custom_init_set

#define mpfr_custom_init_set (   x,
  k,
  e,
  p,
  m 
)
Value:
do { \
mpfr_ptr _x = (x); \
mpfr_exp_t _e; \
mpfr_kind_t _t; \
mpfr_int _s, _k; \
_k = (k); \
if (_k >= 0) { \
_t = (mpfr_kind_t) _k; \
_s = 1; \
} else { \
_t = (mpfr_kind_t) - _k; \
_s = -1; \
} \
_e = _t == MPFR_REGULAR_KIND ? (e) : \
_x->_mpfr_prec = (p); \
_x->_mpfr_sign = _s; \
_x->_mpfr_exp = _e; \
_x->_mpfr_d = (mp_limb_t*) (m); \
} while (0)
Definition: asl.h:63
#define __MPFR_EXP_ZERO
Definition: mpfr.h:220
mpfr_kind_t
Definition: mpfr.h:263
int k
Definition: otp-parser.c:70
ShellFileEnvironment e
Definition: sh6.c:388
m
Definition: tex4ht.c:3990

Definition at line 971 of file mpfr.h.

◆ mpfr_custom_move

#define mpfr_custom_move (   x,
  m 
)    do { ((x)->_mpfr_d = (mp_limb_t*)(m)); } while (0)

Definition at line 970 of file mpfr.h.

◆ MPFR_DECL_INIT

#define MPFR_DECL_INIT (   _x,
  _p 
)
Value:
MPFR_EXTENSION mp_limb_t __gmpfr_local_tab_##_x[((_p)-1)/GMP_NUMB_BITS+1]; \
MPFR_EXTENSION mpfr_t _x = {{(_p),1,__MPFR_EXP_NAN,__gmpfr_local_tab_##_x}}
__mpfr_struct mpfr_t[1]
Definition: mpfr.h:250
#define MPFR_EXTENSION
Definition: mpfr.h:808

Definition at line 815 of file mpfr.h.

◆ MPFR_DEPRECATED

#define MPFR_DEPRECATED

Definition at line 351 of file mpfr.h.

◆ mpfr_div_2exp

#define mpfr_div_2exp (   y,
  x,
  n,
  r 
)    mpfr_div_2ui((y),(x),(n),(r))

Definition at line 871 of file mpfr.h.

◆ MPFR_EMAX_DEFAULT

#define MPFR_EMAX_DEFAULT   ((mpfr_exp_t) (((mpfr_ulong) 1 << 30) - 1))

Definition at line 208 of file mpfr.h.

◆ MPFR_EMAX_MAX

#define MPFR_EMAX_MAX   mpfr_get_emax_max()

Definition at line 1040 of file mpfr.h.

◆ MPFR_EMAX_MIN

#define MPFR_EMAX_MIN   mpfr_get_emax_min()

Definition at line 1039 of file mpfr.h.

◆ MPFR_EMIN_DEFAULT

#define MPFR_EMIN_DEFAULT   (-(MPFR_EMAX_DEFAULT))

Definition at line 209 of file mpfr.h.

◆ MPFR_EMIN_MAX

#define MPFR_EMIN_MAX   mpfr_get_emin_max()

Definition at line 1038 of file mpfr.h.

◆ MPFR_EMIN_MIN

#define MPFR_EMIN_MIN   mpfr_get_emin_min()

Definition at line 1037 of file mpfr.h.

◆ MPFR_EXTENSION

#define MPFR_EXTENSION

Definition at line 808 of file mpfr.h.

◆ MPFR_FLAGS_ALL

#define MPFR_FLAGS_ALL
Value:
MPFR_FLAGS_OVERFLOW | \
MPFR_FLAGS_NAN | \
MPFR_FLAGS_INEXACT | \
MPFR_FLAGS_ERANGE | \
MPFR_FLAGS_DIVBY0)
#define MPFR_FLAGS_UNDERFLOW
Definition: mpfr.h:77

Definition at line 83 of file mpfr.h.

◆ MPFR_FLAGS_DIVBY0

#define MPFR_FLAGS_DIVBY0   32

Definition at line 82 of file mpfr.h.

◆ MPFR_FLAGS_ERANGE

#define MPFR_FLAGS_ERANGE   16

Definition at line 81 of file mpfr.h.

◆ MPFR_FLAGS_INEXACT

#define MPFR_FLAGS_INEXACT   8

Definition at line 80 of file mpfr.h.

◆ MPFR_FLAGS_NAN

#define MPFR_FLAGS_NAN   4

Definition at line 79 of file mpfr.h.

◆ MPFR_FLAGS_OVERFLOW

#define MPFR_FLAGS_OVERFLOW   2

Definition at line 78 of file mpfr.h.

◆ MPFR_FLAGS_UNDERFLOW

#define MPFR_FLAGS_UNDERFLOW   1

Definition at line 77 of file mpfr.h.

◆ mpfr_floor

#define mpfr_floor (   a,
  b 
)    mpfr_rint((a), (b), MPFR_RNDD)

Definition at line 860 of file mpfr.h.

◆ mpfr_get_exp

#define mpfr_get_exp (   _x)    MPFR_VALUE_OF((_x)->_mpfr_exp)

Definition at line 849 of file mpfr.h.

◆ mpfr_get_prec

#define mpfr_get_prec (   _x)    MPFR_VALUE_OF((_x)->_mpfr_prec)

Definition at line 848 of file mpfr.h.

◆ mpfr_get_z_exp

#define mpfr_get_z_exp   mpfr_get_z_2exp

Definition at line 1045 of file mpfr.h.

◆ mpfr_inf_p

#define mpfr_inf_p (   _x)    ((_x)->_mpfr_exp == __MPFR_EXP_INF)

Definition at line 838 of file mpfr.h.

◆ mpfr_init_set

#define mpfr_init_set (   x,
  y,
  rnd 
)     ( mpfr_init(x), mpfr_set((x), (y), (rnd)) )

Definition at line 1020 of file mpfr.h.

◆ mpfr_init_set_d

#define mpfr_init_set_d (   x,
  d,
  rnd 
)     ( mpfr_init(x), mpfr_set_d((x), (d), (rnd)) )

Definition at line 1008 of file mpfr.h.

◆ mpfr_init_set_f

#define mpfr_init_set_f (   x,
  y,
  rnd 
)     ( mpfr_init(x), mpfr_set_f((x), (y), (rnd)) )

Definition at line 1017 of file mpfr.h.

◆ mpfr_init_set_ld

#define mpfr_init_set_ld (   x,
  d,
  rnd 
)     ( mpfr_init(x), mpfr_set_ld((x), (d), (rnd)) )

Definition at line 1010 of file mpfr.h.

◆ mpfr_init_set_q

#define mpfr_init_set_q (   x,
  i,
  rnd 
)     ( mpfr_init(x), mpfr_set_q((x), (i), (rnd)) )

Definition at line 1015 of file mpfr.h.

◆ mpfr_init_set_si

#define mpfr_init_set_si (   x,
  i,
  rnd 
)     ( mpfr_init(x), mpfr_set_si((x), (i), (rnd)) )

Definition at line 1004 of file mpfr.h.

◆ mpfr_init_set_ui

#define mpfr_init_set_ui (   x,
  i,
  rnd 
)     ( mpfr_init(x), mpfr_set_ui((x), (i), (rnd)) )

Definition at line 1006 of file mpfr.h.

◆ mpfr_init_set_z

#define mpfr_init_set_z (   x,
  i,
  rnd 
)     ( mpfr_init(x), mpfr_set_z((x), (i), (rnd)) )

Definition at line 1012 of file mpfr.h.

◆ mpfr_mul_2exp

#define mpfr_mul_2exp (   y,
  x,
  n,
  r 
)    mpfr_mul_2ui((y),(x),(n),(r))

Definition at line 870 of file mpfr.h.

◆ mpfr_nan_p

#define mpfr_nan_p (   _x)    ((_x)->_mpfr_exp == __MPFR_EXP_NAN)

Definition at line 837 of file mpfr.h.

◆ MPFR_PREC_MAX

#define MPFR_PREC_MAX   ((mpfr_prec_t) ((((mpfr_uprec_t) -1) >> 1) - 256))

Definition at line 181 of file mpfr.h.

◆ MPFR_PREC_MIN

#define MPFR_PREC_MIN   1

Definition at line 180 of file mpfr.h.

◆ mpfr_regular_p

#define mpfr_regular_p (   _x)    ((_x)->_mpfr_exp > __MPFR_EXP_INF)

Definition at line 840 of file mpfr.h.

◆ MPFR_RETURNS_NONNULL

#define MPFR_RETURNS_NONNULL

Definition at line 363 of file mpfr.h.

◆ mpfr_round

#define mpfr_round (   a,
  b 
)    mpfr_rint((a), (b), MPFR_RNDNA)

Definition at line 857 of file mpfr.h.

◆ mpfr_round_nearest_away

#define mpfr_round_nearest_away (   func,
  rop,
  op 
)
Value:
mpfr_round_nearest_away_end((rop), func((rop), (op), MPFR_RNDN)))
static luaL_Reg func[]
Definition: except.c:32
void mpfr_round_nearest_away_begin(mpfr_t)
Definition: rndna.c:64
@ MPFR_RNDN
Definition: mpfr.h:103
Definition: sh.h:1226

Definition at line 826 of file mpfr.h.

◆ mpfr_round_prec

#define mpfr_round_prec (   x,
  r,
  p 
)    mpfr_prec_round(x,p,r)

Definition at line 1032 of file mpfr.h.

◆ mpfr_set

#define mpfr_set (   a,
  b,
  r 
)    mpfr_set4(a,b,r,MPFR_SIGN(b))

Definition at line 864 of file mpfr.h.

◆ mpfr_setsign

#define mpfr_setsign (   a,
  b,
  s,
  r 
)    mpfr_set4(a,b,r,(s) ? -1 : 1)

Definition at line 867 of file mpfr.h.

◆ mpfr_sgn

#define mpfr_sgn (   _x)
Value:
((_x)->_mpfr_exp < __MPFR_EXP_INF ? \
(mpfr_nan_p (_x) ? mpfr_set_erangeflag () : (mpfr_void) 0), 0 : \
MPFR_SIGN (_x))
#define mpfr_nan_p(_x)
Definition: mpfr.h:837
void mpfr_set_erangeflag(void)
Definition: exceptions.c:244
void mpfr_void
Definition: mpfr.h:61

Definition at line 841 of file mpfr.h.

◆ MPFR_SIGN

#define MPFR_SIGN (   x)    ((x)->_mpfr_sign)

Definition at line 260 of file mpfr.h.

◆ mpfr_signbit

#define mpfr_signbit (   x)    (MPFR_SIGN(x) < 0)

Definition at line 868 of file mpfr.h.

◆ mpfr_trunc

#define mpfr_trunc (   a,
  b 
)    mpfr_rint((a), (b), MPFR_RNDZ)

Definition at line 858 of file mpfr.h.

◆ MPFR_USE_C99_FEATURE

#define MPFR_USE_C99_FEATURE   0

Definition at line 310 of file mpfr.h.

◆ MPFR_VALUE_OF

#define MPFR_VALUE_OF (   x)    (0 ? (x) : (x))

Definition at line 847 of file mpfr.h.

◆ MPFR_VERSION

◆ mpfr_version

#define mpfr_version   (mpfr_get_version())

Definition at line 1041 of file mpfr.h.

◆ MPFR_VERSION_MAJOR

#define MPFR_VERSION_MAJOR   4

Definition at line 27 of file mpfr.h.

◆ MPFR_VERSION_MINOR

#define MPFR_VERSION_MINOR   1

Definition at line 28 of file mpfr.h.

◆ MPFR_VERSION_NUM

#define MPFR_VERSION_NUM (   a,
  b,
  c 
)    (((a) << 16L) | ((b) << 8) | (c))

Definition at line 48 of file mpfr.h.

◆ MPFR_VERSION_PATCHLEVEL

#define MPFR_VERSION_PATCHLEVEL   0

Definition at line 29 of file mpfr.h.

◆ MPFR_VERSION_STRING

#define MPFR_VERSION_STRING   "4.1.0"

Definition at line 30 of file mpfr.h.

◆ mpfr_zero_p

#define mpfr_zero_p (   _x)    ((_x)->_mpfr_exp == __MPFR_EXP_ZERO)

Definition at line 839 of file mpfr.h.

◆ mpz_set_fr

#define mpz_set_fr   mpfr_get_z

Definition at line 1043 of file mpfr.h.

Typedef Documentation

◆ mpfr_exp_t

typedef long mpfr_exp_t

Definition at line 195 of file mpfr.h.

◆ mpfr_flags_t

typedef unsigned int mpfr_flags_t

Definition at line 74 of file mpfr.h.

◆ mpfr_int

typedef int mpfr_int

Definition at line 62 of file mpfr.h.

◆ mpfr_long

typedef long mpfr_long

Definition at line 64 of file mpfr.h.

◆ mpfr_prec_t

typedef long mpfr_prec_t

Definition at line 168 of file mpfr.h.

◆ mpfr_ptr

Definition at line 251 of file mpfr.h.

◆ mpfr_sign_t

typedef int mpfr_sign_t

Definition at line 184 of file mpfr.h.

◆ mpfr_size_t

Definition at line 66 of file mpfr.h.

◆ mpfr_srcptr

Definition at line 252 of file mpfr.h.

◆ mpfr_t

typedef __mpfr_struct mpfr_t[1]

Definition at line 250 of file mpfr.h.

◆ mpfr_uexp_t

typedef unsigned long mpfr_uexp_t

Definition at line 196 of file mpfr.h.

◆ mpfr_uint

typedef unsigned int mpfr_uint

Definition at line 63 of file mpfr.h.

◆ mpfr_ulong

typedef unsigned long mpfr_ulong

Definition at line 65 of file mpfr.h.

◆ mpfr_uprec_t

typedef unsigned long mpfr_uprec_t

Definition at line 169 of file mpfr.h.

◆ mpfr_void

typedef void mpfr_void

Definition at line 61 of file mpfr.h.

Enumeration Type Documentation

◆ mpfr_free_cache_t

Enumerator
MPFR_FREE_LOCAL_CACHE 
MPFR_FREE_GLOBAL_CACHE 

Definition at line 271 of file mpfr.h.

◆ mpfr_kind_t

Enumerator
MPFR_NAN_KIND 
MPFR_INF_KIND 
MPFR_ZERO_KIND 
MPFR_REGULAR_KIND 

Definition at line 263 of file mpfr.h.

◆ mpfr_rnd_t

enum mpfr_rnd_t
Enumerator
MPFR_RNDN 
MPFR_RNDZ 
MPFR_RNDU 
MPFR_RNDD 
MPFR_RNDA 
MPFR_RNDF 
MPFR_RNDNA 

Definition at line 102 of file mpfr.h.

Function Documentation

◆ mpfr_abs()

int mpfr_abs ( mpfr_ptr  a,
mpfr_srcptr  b,
mpfr_rnd_t  rnd_mode 
)

Definition at line 78 of file set.c.

References a, b, mpfr_set4(), and MPFR_SIGN_POS.

◆ mpfr_acos()

◆ mpfr_acosh()

◆ mpfr_add()

◆ mpfr_add_d()

◆ mpfr_add_q()

◆ mpfr_add_si()

int mpfr_add_si ( mpfr_ptr  ,
mpfr_srcptr  ,
long  ,
mpfr_rnd_t   
)

Referenced by mpfr_add_z().

◆ mpfr_add_ui()

int mpfr_add_ui ( mpfr_ptr  ,
mpfr_srcptr  ,
unsigned long  ,
mpfr_rnd_t   
)

◆ mpfr_add_z()

int mpfr_add_z ( mpfr_ptr  y,
mpfr_srcptr  x,
mpz_srcptr  z,
mpfr_rnd_t  r 
)

Definition at line 107 of file gmp_op.c.

References foo(), mpfr_add(), mpfr_add_si(), mpz_fits_slong_p, mpz_get_si, r, cordic::x, y, and z.

Referenced by mpfr_eint_aux(), and mpfr_yn_s1().

◆ mpfr_agm()

◆ mpfr_ai()

◆ mpfr_asin()

◆ mpfr_asinh()

◆ mpfr_asprintf()

int mpfr_asprintf ( char **  ,
const char *  ,
  ... 
)

◆ mpfr_atan()

◆ mpfr_atan2()

◆ mpfr_atanh()

◆ mpfr_beta()

◆ mpfr_buildopt_decimal_p()

int mpfr_buildopt_decimal_p ( void  )

Definition at line 47 of file buildopt.c.

◆ mpfr_buildopt_float128_p()

int mpfr_buildopt_float128_p ( void  )

Definition at line 37 of file buildopt.c.

◆ mpfr_buildopt_gmpinternals_p()

int mpfr_buildopt_gmpinternals_p ( void  )

Definition at line 57 of file buildopt.c.

◆ mpfr_buildopt_sharedcache_p()

int mpfr_buildopt_sharedcache_p ( void  )

Definition at line 67 of file buildopt.c.

◆ mpfr_buildopt_tls_p()

int mpfr_buildopt_tls_p ( void  )

Definition at line 27 of file buildopt.c.

◆ mpfr_buildopt_tune_case()

const char* mpfr_buildopt_tune_case ( void  )

Definition at line 76 of file buildopt.c.

References MPFR_TUNE_CASE.

◆ mpfr_can_round()

int mpfr_can_round ( mpfr_srcptr  b,
mpfr_exp_t  err,
mpfr_rnd_t  rnd1,
mpfr_rnd_t  rnd2,
mpfr_prec_t  prec 
)

◆ mpfr_cbrt()

◆ mpfr_ceil()

int mpfr_ceil ( mpfr_ptr  r,
mpfr_srcptr  u 
)

Definition at line 334 of file rint.c.

References mpfr_rint(), MPFR_RNDU, r, and u.

Referenced by mpfr_rint_ceil().

◆ mpfr_check_range()

◆ mpfr_clear()

void mpfr_clear ( mpfr_ptr  m)

Definition at line 26 of file clear.c.

References m, mpfr_free_func(), MPFR_GET_ALLOC_SIZE, MPFR_GET_REAL_PTR, MPFR_MALLOC_SIZE, and MPFR_MANT.

Referenced by bits_fac(), foo(), foo2(), FUNCTION(), mpfr_acos(), mpfr_acosh(), mpfr_add_q(), mpfr_add_ui(), mpfr_agm(), mpfr_ai(), mpfr_ai1(), mpfr_ai2(), mpfr_asin(), mpfr_asinh(), mpfr_atan2(), mpfr_atanh(), mpfr_atanh_small(), mpfr_bernoulli_internal(), mpfr_beta(), mpfr_Browns_const(), mpfr_clear_cache(), mpfr_clears(), mpfr_cmp_f(), mpfr_cmp_ld(), mpfr_cmp_q(), mpfr_cmp_si_2exp(), mpfr_cmp_ui_2exp(), mpfr_cmp_z(), mpfr_const_euler_internal(), mpfr_cos(), mpfr_digamma_approx(), mpfr_digamma_positive(), mpfr_digamma_reflection(), mpfr_div_ui(), mpfr_dot(), mpfr_eint(), mpfr_eint_asympt(), mpfr_erf(), mpfr_erf_0(), mpfr_erfc(), mpfr_erfc_asympt(), mpfr_exp2(), mpfr_exp_3(), mpfr_expm1(), mpfr_fac_ui(), mpfr_frac(), mpfr_gamma(), mpfr_gamma_inc(), mpfr_gamma_one_and_two_third(), mpfr_gamma_one_third(), mpfr_get_f(), mpfr_get_ld(), mpfr_get_si(), mpfr_get_str_ndigits(), mpfr_get_ui(), mpfr_get_z(), mpfr_grandom(), mpfr_hypot(), mpfr_jn_k0(), mpfr_lgamma(), mpfr_li2(), mpfr_li2_asympt_neg(), mpfr_li2_asympt_pos(), mpfr_lngamma_aux(), mpfr_log10(), mpfr_log1p(), mpfr_log1p_small(), mpfr_log2(), mpfr_log_ui(), mpfr_mul_ui(), mpfr_muldiv_z(), mpfr_pow(), mpfr_pow_general(), mpfr_pow_is_exact(), mpfr_pow_pos_z(), mpfr_pow_si(), mpfr_pow_ui(), mpfr_pow_z(), mpfr_reldiff(), mpfr_rint_ceil(), mpfr_rint_floor(), mpfr_rint_round(), mpfr_rint_roundeven(), mpfr_rint_trunc(), mpfr_root_aux(), mpfr_set_ld(), mpfr_set_q(), mpfr_sin(), mpfr_sin_cos(), mpfr_sincos_fast(), mpfr_sqrt_ui(), mpfr_sub_q(), mpfr_sub_ui(), mpfr_subnormalize(), mpfr_ubf_zexp2exp(), mpfr_ui_div(), mpfr_ui_pow_ui(), mpfr_ui_sub(), mpfr_yn(), mpfr_yn_s3(), mpfr_zeta(), mpfr_zeta_c(), mpfr_zeta_pos(), mpfr_zeta_ui(), and sincos_aux().

◆ mpfr_clear_divby0()

void mpfr_clear_divby0 ( void  )

Definition at line 172 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_DIVBY0.

◆ mpfr_clear_erangeflag()

void mpfr_clear_erangeflag ( void  )

Definition at line 196 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_ERANGE.

◆ mpfr_clear_flags()

void mpfr_clear_flags ( void  )

Definition at line 148 of file exceptions.c.

References __gmpfr_flags.

Referenced by mpfr_fma().

◆ mpfr_clear_inexflag()

void mpfr_clear_inexflag ( void  )

Definition at line 188 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_INEXACT.

◆ mpfr_clear_nanflag()

void mpfr_clear_nanflag ( void  )

Definition at line 180 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_NAN.

◆ mpfr_clear_overflow()

void mpfr_clear_overflow ( void  )

Definition at line 164 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_OVERFLOW.

◆ mpfr_clear_underflow()

void mpfr_clear_underflow ( void  )

Definition at line 156 of file exceptions.c.

References __gmpfr_flags, MPFR_FLAGS_ALL, and MPFR_FLAGS_UNDERFLOW.

◆ mpfr_clears()

void mpfr_clears ( mpfr_ptr  ,
  ... 
)

◆ mpfr_cmp()

int mpfr_cmp ( mpfr_srcptr  b,
mpfr_srcptr  c 
)

Definition at line 101 of file cmp.c.

References b, c, and mpfr_cmp3().

◆ mpfr_cmp3()

◆ mpfr_cmp_d()

◆ mpfr_cmp_f()

◆ mpfr_cmp_ld()

◆ mpfr_cmp_q()

◆ mpfr_cmp_si()

int mpfr_cmp_si ( mpfr_srcptr  ,
long   
)

◆ mpfr_cmp_si_2exp()

int mpfr_cmp_si_2exp ( mpfr_srcptr  ,
long  ,
mpfr_exp_t   
)

◆ mpfr_cmp_ui()

int mpfr_cmp_ui ( mpfr_srcptr  ,
unsigned long   
)

◆ mpfr_cmp_ui_2exp()

int mpfr_cmp_ui_2exp ( mpfr_srcptr  ,
unsigned long  ,
mpfr_exp_t   
)

◆ mpfr_cmp_z()

◆ mpfr_cmpabs()

◆ mpfr_cmpabs_ui()

int mpfr_cmpabs_ui ( mpfr_srcptr  b,
unsigned long  c 
)

Definition at line 29 of file cmpabs_ui.c.

References b, c, mpfr_cmp_ui, and MPFR_TMP_INIT_ABS.

◆ mpfr_const_catalan()

int mpfr_const_catalan ( mpfr_ptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 32 of file const_catalan.c.

References __gmpfr_cache_const_catalan, mpfr_cache(), and cordic::x.

◆ mpfr_const_euler()

int mpfr_const_euler ( mpfr_ptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 35 of file const_euler.c.

References __gmpfr_cache_const_euler, mpfr_cache(), and cordic::x.

◆ mpfr_const_log2()

int mpfr_const_log2 ( mpfr_ptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 38 of file const_log2.c.

References __gmpfr_cache_const_log2, mpfr_cache(), and cordic::x.

◆ mpfr_const_pi()

int mpfr_const_pi ( mpfr_ptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 37 of file const_pi.c.

References __gmpfr_cache_const_pi, mpfr_cache(), and cordic::x.

◆ mpfr_copysign()

int mpfr_copysign ( mpfr_ptr  z,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd_mode 
)

Definition at line 35 of file copysign.c.

References mpfr_set4(), MPFR_SIGN, cordic::x, y, and z.

◆ mpfr_cos()

◆ mpfr_cosh()

◆ mpfr_cot()

int mpfr_cot ( mpfr_ptr  ,
mpfr_srcptr  ,
mpfr_rnd_t   
)

Referenced by mpfr_digamma_reflection().

◆ mpfr_coth()

int mpfr_coth ( mpfr_ptr  ,
mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_csc()

int mpfr_csc ( mpfr_ptr  ,
mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_csch()

int mpfr_csch ( mpfr_ptr  ,
mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_custom_get_exp()

mpfr_exp_t mpfr_custom_get_exp ( mpfr_srcptr  x)

Definition at line 48 of file stack_interface.c.

References MPFR_EXP, and cordic::x.

◆ mpfr_custom_get_kind()

◆ mpfr_custom_get_significand()

void* mpfr_custom_get_significand ( mpfr_srcptr  x)

Definition at line 41 of file stack_interface.c.

References MPFR_MANT, and cordic::x.

◆ mpfr_custom_get_size()

size_t mpfr_custom_get_size ( mpfr_prec_t  prec)

Definition at line 27 of file stack_interface.c.

References MPFR_BYTES_PER_MP_LIMB, and MPFR_PREC2LIMBS.

◆ mpfr_custom_init()

void mpfr_custom_init ( void mantissa,
mpfr_prec_t  prec 
)

Definition at line 34 of file stack_interface.c.

References return.

◆ mpfr_custom_init_set()

◆ mpfr_custom_move()

void mpfr_custom_move ( mpfr_ptr  x,
void new_position 
)

Definition at line 55 of file stack_interface.c.

References MPFR_MANT, and cordic::x.

◆ mpfr_d_div()

◆ mpfr_d_sub()

◆ mpfr_digamma()

◆ mpfr_dim()

int mpfr_dim ( mpfr_ptr  z,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_div()

int mpfr_div ( mpfr_ptr  q,
mpfr_srcptr  u,
mpfr_srcptr  v,
mpfr_rnd_t  rnd_mode 
)
  • This part of the code deals with special cases *
  • End of the part concerning special values. *
  • We first try Mulders' short division (for large operands) *
  • Mulders' short division failed: we revert to integer division *
  • Here we perform the real division of {ap+k,qqsize-k} by {bp,qsize-k} *

Definition at line 748 of file div.c.

References __gmpfr_emax, __gmpfr_emin, ap, bp, cy, GMP_NUMB_BITS, k, cutout::l, m, MPFR_ARE_SINGULAR, MPFR_ASSERTD, MPFR_CHANGE_SIGN, mpfr_check_range, mpfr_div_1(), mpfr_div_1n(), mpfr_div_2(), MPFR_DIV_THRESHOLD, mpfr_div_ui(), mpfr_divhigh_n(), MPFR_EXP, MPFR_EXP_MAX, MPFR_GET_EXP, mpfr_get_prec, MPFR_GET_PREC, MPFR_INT_CEIL_LOG2, MPFR_INVERT_RND, MPFR_IS_INF, MPFR_IS_NAN, MPFR_IS_POS, MPFR_IS_ZERO, MPFR_LIKELY, MPFR_LIMB_HIGHBIT, MPFR_LIMB_MASK, MPFR_LIMB_ONE, MPFR_LIMB_SIZE, MPFR_LIMB_ZERO, MPFR_LOG_FUNC, MPFR_MANT, mpfr_mpn_cmp_aux(), mpfr_mpn_cmpzero(), mpfr_mpn_sub_aux(), MPFR_MULT_SIGN, mpfr_overflow(), mpfr_powerof2_raw(), MPFR_PREC, MPFR_RET, MPFR_RET_NAN, MPFR_RNDD, MPFR_RNDN, MPFR_RNDU, MPFR_RNDZ, mpfr_round_p(), MPFR_SET_DIVBY0, MPFR_SET_EXP, MPFR_SET_INF, MPFR_SET_NAN, MPFR_SET_SIGN, MPFR_SET_ZERO, MPFR_SIGN, MPFR_TMP_DECL, MPFR_TMP_FREE, MPFR_TMP_LIMBS_ALLOC, MPFR_TMP_MARK, mpfr_underflow(), MPFR_UNLIKELY, MPFR_UNSIGNED_MINUS_MODULO, mpn_add_1, mpn_add_n, mpn_cmp, MPN_COPY, mpn_divrem(), mpn_mul, mpn_rshift, mpn_sub_1, mpn_sub_n, MPN_ZERO, n, p, q, sp, u, ULONG_MAX, up, v, and vsize.

Referenced by bits_fac(), mpfr_acos(), mpfr_agm(), mpfr_ai1(), mpfr_ai2(), mpfr_asin(), mpfr_atan(), mpfr_atan2(), mpfr_atanh(), mpfr_bernoulli_internal(), mpfr_beta(), mpfr_const_catalan_internal(), mpfr_const_log2_internal(), mpfr_const_pi_internal(), mpfr_d_div(), mpfr_div_d(), mpfr_div_ui(), mpfr_div_z(), mpfr_eint(), mpfr_eint_aux(), mpfr_erf(), mpfr_erf_0(), mpfr_erfc_asympt(), mpfr_exp_2(), mpfr_expm1(), mpfr_gamma(), mpfr_gamma_inc(), mpfr_gamma_inc_negint(), mpfr_gamma_one_and_two_third(), mpfr_gamma_one_third(), mpfr_grandom(), mpfr_jn(), mpfr_lngamma_aux(), mpfr_log(), mpfr_log10(), mpfr_log2(), mpfr_log_ui(), mpfr_reldiff(), mpfr_set_q(), mpfr_tan(), mpfr_tanh(), mpfr_ui_div(), mpfr_yn(), mpfr_yn_s3(), and mpfr_zeta_pos().

◆ mpfr_div_2exp()

int mpfr_div_2exp ( mpfr_ptr  ,
mpfr_srcptr  ,
unsigned long  ,
mpfr_rnd_t   
)

◆ mpfr_div_2si()

int mpfr_div_2si ( mpfr_ptr  ,
mpfr_srcptr  ,
long  ,
mpfr_rnd_t   
)

◆ mpfr_div_2ui()

◆ mpfr_div_d()

◆ mpfr_div_q()

int mpfr_div_q ( mpfr_ptr  y,
mpfr_srcptr  x,
mpq_srcptr  z,
mpfr_rnd_t  rnd_mode 
)

Definition at line 264 of file gmp_op.c.

References mpfr_muldiv_z(), mpq_denref, mpq_numref, cordic::x, y, and z.

◆ mpfr_div_si()

int mpfr_div_si ( mpfr_ptr  ,
mpfr_srcptr  ,
long  ,
mpfr_rnd_t   
)

Referenced by mpfr_div_z().

◆ mpfr_div_ui()

int mpfr_div_ui ( mpfr_ptr  ,
mpfr_srcptr  ,
unsigned long  ,
mpfr_rnd_t   
)

◆ mpfr_div_z()

int mpfr_div_z ( mpfr_ptr  y,
mpfr_srcptr  x,
mpz_srcptr  z,
mpfr_rnd_t  r 
)

Definition at line 98 of file gmp_op.c.

References foo(), mpfr_div(), mpfr_div_si(), mpz_fits_slong_p, mpz_get_si, r, cordic::x, y, and z.

Referenced by mpfr_muldiv_z(), mpfr_yn_s1(), mpfr_yn_s3(), and sincos_aux().

◆ mpfr_divby0_p()

int mpfr_divby0_p ( void  )

Definition at line 332 of file exceptions.c.

References __gmpfr_flags, INT_MAX, MPFR_FLAGS_DIVBY0, and MPFR_STAT_STATIC_ASSERT.

◆ mpfr_dot()

int mpfr_dot ( mpfr_ptr  res,
const mpfr_ptr a,
const mpfr_ptr b,
unsigned long  n,
mpfr_rnd_t  rnd 
)

◆ mpfr_dump()

void mpfr_dump ( mpfr_srcptr  x)

Definition at line 129 of file dump.c.

References mpfr_fdump(), fc-lang::stdout, and cordic::x.

◆ mpfr_eint()

◆ mpfr_eq()

int mpfr_eq ( mpfr_srcptr  ,
mpfr_srcptr  ,
unsigned long   
)

◆ mpfr_equal_p()

int mpfr_equal_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 69 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

Referenced by mpfr_lgamma(), mpfr_root_aux(), and mpfr_yn().

◆ mpfr_erandom()

int mpfr_erandom ( mpfr_ptr  ,
gmp_randstate_t  ,
mpfr_rnd_t   
)

◆ mpfr_erangeflag_p()

int mpfr_erangeflag_p ( void  )

Definition at line 359 of file exceptions.c.

References __gmpfr_flags, INT_MAX, MPFR_FLAGS_ERANGE, and MPFR_STAT_STATIC_ASSERT.

◆ mpfr_erf()

◆ mpfr_erfc()

◆ mpfr_exp()

◆ mpfr_exp10()

int mpfr_exp10 ( mpfr_ptr  y,
mpfr_srcptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 26 of file exp10.c.

References mpfr_ui_pow(), cordic::x, and y.

◆ mpfr_exp2()

◆ mpfr_expm1()

◆ mpfr_extract()

void mpfr_extract ( mpz_ptr  y,
mpfr_srcptr  p,
unsigned int  i 
)

◆ mpfr_fac_ui()

int mpfr_fac_ui ( mpfr_ptr  ,
unsigned long  ,
mpfr_rnd_t   
)

◆ mpfr_fits_intmax_p()

int mpfr_fits_intmax_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_sint_p()

int mpfr_fits_sint_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_slong_p()

int mpfr_fits_slong_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

Referenced by mpfr_get_si().

◆ mpfr_fits_sshort_p()

int mpfr_fits_sshort_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_uint_p()

int mpfr_fits_uint_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_uintmax_p()

int mpfr_fits_uintmax_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_ulong_p()

int mpfr_fits_ulong_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_fits_ushort_p()

int mpfr_fits_ushort_p ( mpfr_srcptr  ,
mpfr_rnd_t   
)

◆ mpfr_flags_clear()

void mpfr_flags_clear ( mpfr_flags_t  mask)

Definition at line 105 of file exceptions.c.

References __gmpfr_flags, mask, and MPFR_FLAGS_ALL.

◆ mpfr_flags_restore()

void mpfr_flags_restore ( mpfr_flags_t  flags,
mpfr_flags_t  mask 
)

Definition at line 137 of file exceptions.c.

References __gmpfr_flags, flags, mask, and MPFR_FLAGS_ALL.

◆ mpfr_flags_save()

mpfr_flags_t mpfr_flags_save ( void  )

Definition at line 129 of file exceptions.c.

References __gmpfr_flags.

◆ mpfr_flags_set()

void mpfr_flags_set ( mpfr_flags_t  mask)

Definition at line 113 of file exceptions.c.

References __gmpfr_flags, and mask.

◆ mpfr_flags_test()

mpfr_flags_t mpfr_flags_test ( mpfr_flags_t  mask)

Definition at line 121 of file exceptions.c.

References __gmpfr_flags, and mask.

◆ mpfr_floor()

int mpfr_floor ( mpfr_ptr  r,
mpfr_srcptr  u 
)

Definition at line 342 of file rint.c.

References mpfr_rint(), MPFR_RNDD, r, and u.

Referenced by mpfr_rint_floor().

◆ mpfr_fma()

◆ mpfr_fmma()

int mpfr_fmma ( mpfr_ptr  z,
mpfr_srcptr  a,
mpfr_srcptr  b,
mpfr_srcptr  c,
mpfr_srcptr  d,
mpfr_rnd_t  rnd 
)

Definition at line 80 of file fmma.c.

References a, b, c, d, mpfr_fmma_aux(), rnd, and z.

◆ mpfr_fmms()

int mpfr_fmms ( mpfr_ptr  z,
mpfr_srcptr  a,
mpfr_srcptr  b,
mpfr_srcptr  c,
mpfr_srcptr  d,
mpfr_rnd_t  rnd 
)

Definition at line 88 of file fmma.c.

References a, b, c, d, mpfr_fmma_aux(), rnd, and z.

◆ mpfr_fmod()

int mpfr_fmod ( mpfr_ptr  rem,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd 
)

Definition at line 266 of file rem1.c.

References mpfr_rem1(), MPFR_RNDZ, rnd, cordic::x, and y.

◆ mpfr_fmodquo()

int mpfr_fmodquo ( mpfr_ptr  rem,
long *  quo,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd 
)

Definition at line 272 of file rem1.c.

References mpfr_rem1(), MPFR_RNDZ, rnd, cordic::x, and y.

Referenced by mpfr_beta().

◆ mpfr_fms()

int mpfr_fms ( mpfr_ptr  s,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_srcptr  z,
mpfr_rnd_t  rnd_mode 
)

Definition at line 31 of file fms.c.

References MPFR_ALIAS, MPFR_EXP, mpfr_fma(), MPFR_SIGN, s, cordic::x, y, and z.

◆ mpfr_frac()

◆ mpfr_free_cache()

void mpfr_free_cache ( void  )

Definition at line 54 of file free_cache.c.

References mpfr_free_const_caches(), and mpfr_free_local_cache().

Referenced by mpfr_mp_memory_cleanup().

◆ mpfr_free_cache2()

◆ mpfr_free_pool()

void mpfr_free_pool ( void  )

Definition at line 107 of file pool.c.

References i, MPFR_ASSERTD, mpz_clear, mpz_tab, n_alloc, and numberof.

Referenced by mpfr_free_local_cache().

◆ mpfr_free_str()

void mpfr_free_str ( char *  str)

Definition at line 2899 of file get_str.c.

References mpfr_free_func(), str, and strlen().

◆ mpfr_frexp()

◆ mpfr_gamma()

int mpfr_gamma ( mpfr_ptr  gamma,
mpfr_srcptr  x,
mpfr_rnd_t  rnd_mode 
)

Definition at line 113 of file gamma.c.

References __gmpfr_emax, bits_fac(), end, flags, gamma, is_integer(), LONG_MIN, loop, MAX, mpfr_abs, mpfr_add(), mpfr_add_ui(), MPFR_ASSERTD, MPFR_ASSERTN, MPFR_BLOCK, MPFR_BLOCK_DECL, MPFR_CAN_ROUND, mpfr_check_range, mpfr_clear(), mpfr_cmp, mpfr_cmp_si, mpfr_cmp_ui, mpfr_const_pi, MPFR_DBGRES, mpfr_div(), mpfr_div_2ui(), MPFR_EMAX_MAX, MPFR_EMIN_MIN, mpfr_fac_ui(), mpfr_fits_ulong_p(), mpfr_gamma_1_minus_x_exact(), mpfr_gamma_2_minus_x_exact(), mpfr_get_emax, MPFR_GET_EXP, mpfr_get_prec, mpfr_get_ui(), MPFR_GROUP_CLEAR, MPFR_GROUP_DECL, MPFR_GROUP_INIT_3, MPFR_GROUP_INIT_4, MPFR_GROUP_REPREC_4, mpfr_inf_p, mpfr_init2(), MPFR_INT_CEIL_LOG2, mpfr_integer_p(), MPFR_IS_INF, MPFR_IS_LIKE_RNDD, MPFR_IS_LIKE_RNDU, MPFR_IS_NAN, MPFR_IS_NEG, MPFR_IS_POS_SIGN, MPFR_IS_SINGULAR, MPFR_IS_ZERO, MPFR_LIKELY, mpfr_log(), mpfr_log2(), MPFR_LOG_FUNC, mpfr_mul(), mpfr_mul_2ui(), mpfr_mul_ui(), mpfr_nextbelow(), MPFR_OVERFLOW, mpfr_overflow(), mpfr_pow(), mpfr_powerof2_raw(), MPFR_PREC, MPFR_RET, MPFR_RET_NAN, MPFR_RNDD, MPFR_RNDN, MPFR_RNDU, MPFR_RNDZ, MPFR_SAVE_EXPO_DECL, MPFR_SAVE_EXPO_FREE, MPFR_SAVE_EXPO_MARK, MPFR_SAVE_EXPO_UPDATE_FLAGS, mpfr_set, MPFR_SET_DIVBY0, MPFR_SET_INF, MPFR_SET_NAN, MPFR_SET_POS, mpfr_set_prec(), MPFR_SET_SAME_SIGN, mpfr_set_str_binary(), mpfr_set_ui(), mpfr_sgn, MPFR_SIGN, mpfr_sin(), mpfr_sub(), mpfr_sub_ui(), mpfr_ui_div(), mpfr_ui_sub(), mpfr_underflow(), MPFR_UNLIKELY, MPFR_ZIV_DECL, MPFR_ZIV_FREE, MPFR_ZIV_INIT, MPFR_ZIV_NEXT, mpz_clear, mpz_init, p, sgn(), sign, special, u, void, w, cordic::x, and xp.

Referenced by mpfr_beta(), mpfr_gamma_inc(), mpfr_gamma_inc_negint(), and mpfr_zeta().

◆ mpfr_gamma_inc()

◆ mpfr_get_d()

◆ mpfr_get_d1()

double mpfr_get_d1 ( mpfr_srcptr  src)

Definition at line 134 of file get_d.c.

References __gmpfr_default_rounding_mode, mpfr_get_d(), and link_confs::src.

◆ mpfr_get_d_2exp()

◆ mpfr_get_default_prec()

mpfr_prec_t mpfr_get_default_prec ( void  )

Definition at line 38 of file set_dfl_prec.c.

References __gmpfr_default_fp_bit_precision.

◆ mpfr_get_default_rounding_mode()

mpfr_rnd_t mpfr_get_default_rounding_mode ( void  )

Definition at line 37 of file set_rnd.c.

References __gmpfr_default_rounding_mode.

◆ mpfr_get_emax()

mpfr_exp_t mpfr_get_emax ( void  )

Definition at line 68 of file exceptions.c.

References __gmpfr_emax.

◆ mpfr_get_emax_max()

mpfr_exp_t mpfr_get_emax_max ( void  )

Definition at line 96 of file exceptions.c.

References MPFR_EMAX_MAX.

◆ mpfr_get_emax_min()

mpfr_exp_t mpfr_get_emax_min ( void  )

Definition at line 90 of file exceptions.c.

References MPFR_EMAX_MIN.

◆ mpfr_get_emin()

mpfr_exp_t mpfr_get_emin ( void  )

Definition at line 32 of file exceptions.c.

References __gmpfr_emin.

◆ mpfr_get_emin_max()

mpfr_exp_t mpfr_get_emin_max ( void  )

Definition at line 60 of file exceptions.c.

References MPFR_EMIN_MAX.

◆ mpfr_get_emin_min()

mpfr_exp_t mpfr_get_emin_min ( void  )

Definition at line 54 of file exceptions.c.

References MPFR_EMIN_MIN.

◆ mpfr_get_exp()

mpfr_exp_t mpfr_get_exp ( mpfr_srcptr  x)

Definition at line 27 of file get_exp.c.

References MPFR_ASSERTN, MPFR_EXP, MPFR_IS_PURE_FP, and cordic::x.

◆ mpfr_get_f()

◆ mpfr_get_flt()

◆ mpfr_get_ld()

◆ mpfr_get_ld_2exp()

long double mpfr_get_ld_2exp ( long *  expptr,
mpfr_srcptr  src,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_get_patches()

const char* mpfr_get_patches ( void  )

◆ mpfr_get_prec()

mpfr_prec_t mpfr_get_prec ( mpfr_srcptr  x)

Definition at line 55 of file set_prec.c.

References MPFR_PREC, and cordic::x.

◆ mpfr_get_q()

◆ mpfr_get_si()

◆ mpfr_get_str()

◆ mpfr_get_str_ndigits()

◆ mpfr_get_ui()

◆ mpfr_get_version()

const char * mpfr_get_version ( void  )

Definition at line 102 of file mplibstuff.c.

References MPFR_VERSION_STRING.

◆ mpfr_get_z()

◆ mpfr_get_z_2exp()

◆ mpfr_grandom()

◆ mpfr_greater_p()

int mpfr_greater_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 39 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

◆ mpfr_greaterequal_p()

int mpfr_greaterequal_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 45 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

◆ mpfr_hypot()

◆ mpfr_inexflag_p()

int mpfr_inexflag_p ( void  )

Definition at line 350 of file exceptions.c.

References __gmpfr_flags, INT_MAX, MPFR_FLAGS_INEXACT, and MPFR_STAT_STATIC_ASSERT.

◆ mpfr_inf_p()

int mpfr_inf_p ( mpfr_srcptr  x)

Definition at line 25 of file isinf.c.

References MPFR_IS_INF, and cordic::x.

◆ mpfr_init()

◆ mpfr_init2()

void mpfr_init2 ( mpfr_ptr  x,
mpfr_prec_t  p 
)

Definition at line 26 of file init2.c.

References __MPFR_EXP_INF, __MPFR_EXP_NAN, __MPFR_EXP_ZERO, CHAR_BIT, GMP_NUMB_BITS, mp_bits_per_limb, MP_SIZE_T_MAX, mpfr_allocate_func(), MPFR_ASSERTN, MPFR_BYTES_PER_MP_LIMB, MPFR_EMAX_MAX, MPFR_EMIN_MIN, MPFR_EXP, MPFR_EXP_INF, MPFR_EXP_INVALID, MPFR_EXP_MAX, MPFR_EXP_NAN, MPFR_EXP_ZERO, MPFR_MALLOC_SIZE, MPFR_PREC, MPFR_PREC2LIMBS, MPFR_PREC_COND, MPFR_PREC_MAX, MPFR_SET_ALLOC_SIZE, MPFR_SET_MANT_PTR, MPFR_SET_NAN, MPFR_SET_POS, MPFR_STAT_STATIC_ASSERT, p, cordic::x, and xsize.

Referenced by bits_fac(), FUNCTION(), init_set_z(), li2_series(), mpfr_acos(), mpfr_acosh(), mpfr_add_q(), mpfr_add_ui(), mpfr_agm(), mpfr_ai(), mpfr_ai1(), mpfr_ai2(), mpfr_asin(), mpfr_asinh(), mpfr_atan2(), mpfr_atanh(), mpfr_atanh_small(), mpfr_bernoulli_internal(), mpfr_beta(), mpfr_Browns_const(), mpfr_cache(), mpfr_cmp_f(), mpfr_cmp_ld(), mpfr_cmp_q(), mpfr_cmp_si_2exp(), mpfr_cmp_ui_2exp(), mpfr_cmp_z(), mpfr_const_euler_internal(), mpfr_cos(), mpfr_digamma_approx(), mpfr_digamma_positive(), mpfr_digamma_reflection(), mpfr_div_ui(), mpfr_dot(), mpfr_eint(), mpfr_eint_asympt(), mpfr_erf(), mpfr_erf_0(), mpfr_erfc(), mpfr_erfc_asympt(), mpfr_exp2(), mpfr_exp_3(), mpfr_expm1(), mpfr_fac_ui(), mpfr_frac(), mpfr_gamma(), mpfr_gamma_inc(), mpfr_gamma_one_and_two_third(), mpfr_gamma_one_third(), mpfr_get_f(), mpfr_get_ld(), mpfr_get_si(), mpfr_get_str_ndigits(), mpfr_get_ui(), mpfr_get_z(), mpfr_grandom(), mpfr_hypot(), mpfr_init(), mpfr_inits2(), mpfr_jn_k0(), mpfr_lgamma(), mpfr_li2(), mpfr_li2_asympt_neg(), mpfr_li2_asympt_pos(), mpfr_lngamma_aux(), mpfr_log10(), mpfr_log1p(), mpfr_log1p_small(), mpfr_log2(), mpfr_log_ui(), mpfr_mul_ui(), mpfr_muldiv_z(), mpfr_pow(), mpfr_pow_general(), mpfr_pow_is_exact(), mpfr_pow_pos_z(), mpfr_pow_si(), mpfr_pow_ui(), mpfr_pow_z(), mpfr_reldiff(), mpfr_rint_ceil(), mpfr_rint_floor(), mpfr_rint_round(), mpfr_rint_roundeven(), mpfr_rint_trunc(), mpfr_root_aux(), mpfr_set_ld(), mpfr_sincos_fast(), mpfr_sqrt_ui(), mpfr_sub_q(), mpfr_sub_ui(), mpfr_subnormalize(), mpfr_ubf_zexp2exp(), mpfr_ui_div(), mpfr_ui_pow_ui(), mpfr_ui_sub(), mpfr_yn(), mpfr_yn_s3(), mpfr_zeta(), mpfr_zeta_c(), mpfr_zeta_pos(), mpfr_zeta_ui(), set_z(), and sincos_aux().

◆ mpfr_init_set_str()

int mpfr_init_set_str ( mpfr_ptr  x,
const char *  str,
int  base,
mpfr_rnd_t  rnd 
)

Definition at line 38 of file set_str.c.

References base, mpfr_init(), mpfr_set_str(), rnd, str, and cordic::x.

◆ mpfr_inits()

void mpfr_inits ( mpfr_ptr  ,
  ... 
)

◆ mpfr_inits2()

void mpfr_inits2 ( mpfr_prec_t  ,
mpfr_ptr  ,
  ... 
)

◆ mpfr_integer_p()

◆ mpfr_j0()

int mpfr_j0 ( mpfr_ptr  res,
mpfr_srcptr  z,
mpfr_rnd_t  r 
)

Definition at line 34 of file jn.c.

References mpfr_jn(), r, and z.

◆ mpfr_j1()

int mpfr_j1 ( mpfr_ptr  res,
mpfr_srcptr  z,
mpfr_rnd_t  r 
)

Definition at line 40 of file jn.c.

References mpfr_jn(), r, and z.

◆ mpfr_jn()

◆ mpfr_less_p()

int mpfr_less_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 51 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

Referenced by mpfr_beta().

◆ mpfr_lessequal_p()

int mpfr_lessequal_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 57 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

Referenced by mpfr_total_order_p().

◆ mpfr_lessgreater_p()

int mpfr_lessgreater_p ( mpfr_srcptr  x,
mpfr_srcptr  y 
)

Definition at line 63 of file comparisons.c.

References mpfr_cmp, MPFR_IS_NAN, cordic::x, and y.

◆ mpfr_lgamma()

◆ mpfr_li2()

◆ mpfr_lngamma()

◆ mpfr_log()

◆ mpfr_log10()

◆ mpfr_log1p()

◆ mpfr_log2()

◆ mpfr_log_ui()

◆ mpfr_max()

int mpfr_max ( mpfr_ptr  z,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_min()

int mpfr_min ( mpfr_ptr  z,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_min_prec()

mpfr_prec_t mpfr_min_prec ( mpfr_srcptr  x)

Definition at line 26 of file min_prec.c.

References GMP_NUMB_BITS, MPFR_IS_SINGULAR, MPFR_LIMB_SIZE, MPFR_MANT, MPFR_UNLIKELY, mpn_scan1, and cordic::x.

Referenced by mpfr_set_1_2().

◆ mpfr_modf()

◆ mpfr_mp_memory_cleanup()

int mpfr_mp_memory_cleanup ( void  )

Definition at line 88 of file free_cache.c.

References mpfr_free_cache().

◆ mpfr_mul()

int mpfr_mul ( mpfr_ptr  a,
mpfr_srcptr  b,
mpfr_srcptr  c,
mpfr_rnd_t  rnd_mode 
)

Definition at line 732 of file mul.c.

References __gmpfr_emax, __gmpfr_emin, a, add_ssaaaa, b, b1, bp, c, cn, cp, GMP_NUMB_BITS, int(), k, MIN, MPFR_ARE_SINGULAR, MPFR_ASSERTD, MPFR_ASSERTN, MPFR_BYTES_PER_MP_LIMB, MPFR_EXP, MPFR_GET_EXP, mpfr_get_prec, MPFR_GET_PREC, MPFR_INT_CEIL_LOG2, MPFR_IS_INF, MPFR_IS_NAN, MPFR_IS_ZERO, MPFR_LIKELY, MPFR_LIMB_MSB, MPFR_LIMB_SIZE, MPFR_LOG_FUNC, MPFR_LOG_MSG, MPFR_MANT, mpfr_mul(), mpfr_mul_1(), mpfr_mul_1n(), mpfr_mul_2(), mpfr_mul_3(), MPFR_MUL_THRESHOLD, mpfr_mulhigh_n(), MPFR_MULT_SIGN, mpfr_overflow(), mpfr_powerof2_raw(), MPFR_PREC, MPFR_PREC2LIMBS, MPFR_PREC_MAX, MPFR_RET, MPFR_RET_NAN, MPFR_RNDF, MPFR_RNDN, MPFR_RNDRAW, MPFR_RNDZ, mpfr_round_p(), MPFR_SET_EXP, MPFR_SET_INF, MPFR_SET_NAN, MPFR_SET_SAME_SIGN, MPFR_SET_SIGN, MPFR_SET_ZERO, MPFR_SIGN, MPFR_SQR_THRESHOLD, mpfr_sqrhigh_n(), MPFR_STAT_STATIC_ASSERT, MPFR_TMP_DECL, MPFR_TMP_FREE, MPFR_TMP_LIMBS_ALLOC, MPFR_TMP_MARK, mpfr_underflow(), MPFR_UNLIKELY, MPN_COPY, mpn_lshift, mpn_mul, n, p, sign, t, t1, t2, t3, threshold, fc-lang::tn, umul_ppmm, and z.

Referenced by bits_fac(), compute_add(), FUNCTION(), li2_series(), mpfr_agm(), mpfr_ai1(), mpfr_ai2(), mpfr_atan(), mpfr_atanh_small(), mpfr_beta(), mpfr_ceil_mul(), mpfr_const_catalan_internal(), mpfr_digamma_approx(), mpfr_digamma_reflection(), mpfr_dot(), mpfr_eint_asympt(), mpfr_eint_aux(), mpfr_erf(), mpfr_erf_0(), mpfr_erfc(), mpfr_erfc_asympt(), mpfr_exp(), mpfr_exp2(), mpfr_exp_3(), mpfr_fma(), mpfr_fma_singular(), mpfr_gamma(), mpfr_gamma_inc(), mpfr_gamma_inc_negint(), mpfr_gamma_one_and_two_third(), mpfr_gamma_one_third(), mpfr_jn(), mpfr_jn_k0(), mpfr_li2(), mpfr_lngamma_aux(), mpfr_log1p_small(), mpfr_mul(), mpfr_mul_d(), mpfr_mul_ui(), mpfr_mul_z(), mpfr_pow(), mpfr_pow_general(), mpfr_pow_pos_z(), mpfr_pow_ui(), mpfr_reflection_overflow(), mpfr_sinh(), mpfr_sqr(), mpfr_yn(), mpfr_yn_s1(), mpfr_yn_s3(), mpfr_zeta(), and mpfr_zeta_part_b().

◆ mpfr_mul_2exp()

int mpfr_mul_2exp ( mpfr_ptr  ,
mpfr_srcptr  ,
unsigned long  ,
mpfr_rnd_t   
)

◆ mpfr_mul_2si()

◆ mpfr_mul_2ui()

◆ mpfr_mul_d()

◆ mpfr_mul_q()

int mpfr_mul_q ( mpfr_ptr  y,
mpfr_srcptr  x,
mpq_srcptr  z,
mpfr_rnd_t  rnd_mode 
)

Definition at line 258 of file gmp_op.c.

References mpfr_muldiv_z(), mpq_denref, mpq_numref, cordic::x, y, and z.

◆ mpfr_mul_si()

int mpfr_mul_si ( mpfr_ptr  ,
mpfr_srcptr  ,
long  ,
mpfr_rnd_t   
)

◆ mpfr_mul_ui()

◆ mpfr_mul_z()

◆ mpfr_nan_p()

int mpfr_nan_p ( mpfr_srcptr  x)

Definition at line 25 of file isnan.c.

References MPFR_IS_NAN, and cordic::x.

◆ mpfr_nanflag_p()

int mpfr_nanflag_p ( void  )

Definition at line 341 of file exceptions.c.

References __gmpfr_flags, INT_MAX, MPFR_FLAGS_NAN, and MPFR_STAT_STATIC_ASSERT.

◆ mpfr_neg()

◆ mpfr_nextabove()

◆ mpfr_nextbelow()

◆ mpfr_nexttoward()

void mpfr_nexttoward ( mpfr_ptr  x,
mpfr_srcptr  y 
)

◆ mpfr_nrandom()

int mpfr_nrandom ( mpfr_ptr  ,
gmp_randstate_t  ,
mpfr_rnd_t   
)

◆ mpfr_number_p()

int mpfr_number_p ( mpfr_srcptr  x)

Definition at line 26 of file isnum.c.

References MPFR_IS_FP, and cordic::x.

Referenced by mpfr_set_ld().

◆ mpfr_overflow_p()

int mpfr_overflow_p ( void  )

Definition at line 323 of file exceptions.c.

References __gmpfr_flags, INT_MAX, MPFR_FLAGS_OVERFLOW, and MPFR_STAT_STATIC_ASSERT.

◆ mpfr_pow()

◆ mpfr_pow_si()

int mpfr_pow_si ( mpfr_ptr  ,
mpfr_srcptr  ,
long  ,
mpfr_rnd_t   
)

◆ mpfr_pow_ui()

◆ mpfr_pow_z()

◆ mpfr_prec_round()

◆ mpfr_print_rnd_mode()

const char* mpfr_print_rnd_mode ( mpfr_rnd_t  rnd_mode)

◆ mpfr_printf()

int mpfr_printf ( const char *  ,
  ... 
)

◆ mpfr_rec_sqrt()

◆ mpfr_regular_p()

int mpfr_regular_p ( mpfr_srcptr  x)

Definition at line 25 of file isregular.c.

References MPFR_IS_SINGULAR, and cordic::x.

◆ mpfr_reldiff()

◆ mpfr_remainder()

int mpfr_remainder ( mpfr_ptr  rem,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd 
)

Definition at line 253 of file rem1.c.

References mpfr_rem1(), MPFR_RNDN, rnd, cordic::x, and y.

Referenced by mpfr_cos(), mpfr_sin(), and mpfr_sin_cos().

◆ mpfr_remquo()

int mpfr_remquo ( mpfr_ptr  rem,
long *  quo,
mpfr_srcptr  x,
mpfr_srcptr  y,
mpfr_rnd_t  rnd 
)

Definition at line 259 of file rem1.c.

References mpfr_rem1(), MPFR_RNDN, rnd, cordic::x, and y.

Referenced by mpfr_sincos_fast().

◆ mpfr_rint()

◆ mpfr_rint_ceil()

◆ mpfr_rint_floor()

◆ mpfr_rint_round()

◆ mpfr_rint_roundeven()

◆ mpfr_rint_trunc()

int mpfr_rint_trunc ( mpfr_ptr  r,
mpfr_srcptr  u,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_root()

int mpfr_root ( mpfr_ptr  y,
mpfr_srcptr  x,
unsigned long  k,
mpfr_rnd_t  rnd_mode 
)

◆ mpfr_rootn_ui()