|
| void | Form_mpf_init (mpf_t t) |
| |
| void | Form_mpf_clear (mpf_t t) |
| |
| void | Form_mpf_set_prec_raw (mpf_t t, ULONG newprec) |
| |
| void | FormtoZ (mpz_t z, UWORD *a, WORD na) |
| |
| void | ZtoForm (UWORD *a, WORD *na, mpz_t z) |
| |
| long | FloatToInteger (UWORD *out, mpf_t floatin, long *bitsused) |
| |
| void | IntegerToFloat (mpf_t result, UWORD *formlong, int longsize) |
| |
| int | FloatToRat (UWORD *ratout, WORD *nratout, mpf_t floatin) |
| |
| int | AddFloats (PHEAD WORD *fun3, WORD *fun1, WORD *fun2) |
| |
| int | MulFloats (PHEAD WORD *fun3, WORD *fun1, WORD *fun2) |
| |
| int | DivFloats (PHEAD WORD *fun3, WORD *fun1, WORD *fun2) |
| |
| int | AddRatToFloat (PHEAD WORD *outfun, WORD *infun, UWORD *formrat, WORD nrat) |
| |
| int | MulRatToFloat (PHEAD WORD *outfun, WORD *infun, UWORD *formrat, WORD nrat) |
| |
| void | SimpleDelta (mpf_t sum, int m) |
| |
| void | SimpleDeltaC (mpf_t sum, int m) |
| |
| void | SingleTable (mpf_t *tabl, int N, int m, int pow) |
| |
| void | DoubleTable (mpf_t *tabout, mpf_t *tabin, int N, int m, int pow) |
| |
| void | EndTable (mpf_t sum, mpf_t *tabin, int N, int m, int pow) |
| |
| void | deltaMZV (mpf_t, WORD *, int) |
| |
| void | deltaEuler (mpf_t, WORD *, int) |
| |
| void | deltaEulerC (mpf_t, WORD *, int) |
| |
| void | CalculateMZVhalf (mpf_t, WORD *, int) |
| |
| void | CalculateMZV (mpf_t, WORD *, int) |
| |
| void | CalculateEuler (mpf_t, WORD *, int) |
| |
| int | ExpandMZV (WORD *term, WORD level) |
| |
| int | ExpandEuler (WORD *term, WORD level) |
| |
| int | PackFloat (WORD *, mpf_t) |
| |
| int | UnpackFloat (mpf_t, WORD *) |
| |
| void | RatToFloat (mpf_t result, UWORD *formrat, int ratsize) |
| |
| void | Form_mpf_empty (mpf_t t) |
| |
| int | TestFloat (WORD *fun) |
| |
| WORD | FloatFunToRat (PHEAD UWORD *ratout, WORD *in) |
| |
| void | ZeroTable (mpf_t *tab, int N) |
| |
| SBYTE * | ReadFloat (SBYTE *s) |
| |
| UBYTE * | CheckFloat (UBYTE *ss, int *spec) |
| |
| int | SetFloatPrecision (WORD prec) |
| |
| int | PrintFloat (WORD *fun, int numdigits) |
| |
| void | SetupMZVTables (void) |
| |
| void | SetupMPFTables (void) |
| |
| void | ClearMZVTables (void) |
| |
| int | CoToFloat (UBYTE *s) |
| |
| int | CoToRat (UBYTE *s) |
| |
| int | CoStrictRounding (UBYTE *s) |
| |
| int | CoChop (UBYTE *s) |
| |
| int | ToFloat (PHEAD WORD *term, WORD level) |
| |
| int | ToRat (PHEAD WORD *term, WORD level) |
| |
| int | StrictRounding (PHEAD WORD *term, WORD level, WORD prec, WORD base) |
| |
| int | Chop (PHEAD WORD *term, WORD level) |
| |
| int | AddWithFloat (PHEAD WORD **ps1, WORD **ps2) |
| |
| int | MergeWithFloat (PHEAD WORD **interm1, WORD **interm2) |
| |
| int | EvaluateEuler (PHEAD WORD *term, WORD level, WORD par) |
| |
| int | CoEvaluate (UBYTE *s) |
| |
This file contains numerical routines that deal with floating point numbers. We use the GMP for arbitrary precision floating point arithmetic. The functions of the type sin, cos, ln, sqrt etc are handled by the mpfr library. The reason that for MZV's and the general notation we use the GMP (mpf_) is because the contents of the structs have been frozen and can be used for storage in a Form function float_. With mpfr_ this is not safely possible. All mpfr_ related code is in the file evaluate.c.
Definition in file float.c.