fredrik
2488af9b1d
remove some unused fmpr functions and drop test iterations
2018-12-13 16:49:21 +01:00
fredrik
a7d9c0b1c1
mpfr 4.0 deprecated mpfr_root
2018-02-11 00:41:38 +01:00
Tommy Hofmann
6bf072eb59
Replace abort with flint_abort.
...
This will allow us to not loose the julia session on error.
See also https://github.com/wbhart/flint2/pull/243
2017-02-28 16:52:57 +01:00
Fredrik Johansson
ecb70e7476
update copyright headers to switch from GPL to LGPL
2016-04-26 17:20:05 +02:00
Fredrik Johansson
b4ebc87a1d
use arb_test_multiplier to control number of test iterations
2016-04-10 17:24:58 +02:00
Fredrik Johansson
80640c87e2
include flint/foo.h instead of foo.h
2016-03-03 15:42:23 +01:00
William Hart
d8609e002f
static long -> static slong in test/*.c.
2015-11-10 13:49:21 +00:00
William Hart
55c2827539
printf -> flint_printf, sprintf -> flint_sprintf, fprintf -> flint_fprintf.
2015-11-06 16:17:27 +00:00
William Hart
0383e04c21
%lu -> %wu in *.c.
2015-11-06 15:56:28 +00:00
William Hart
72abf04641
%ld -> %wd in *.c.
2015-11-06 15:51:44 +00:00
William Hart
93d40a7a9b
long -> slong in fmpr/ and fmpr/test/.
2015-11-05 18:03:08 +00:00
Fredrik Johansson
0244fe0e46
Fix evil bug in floating-point arithmetic and strengthen test code.
...
When rounding up, the error bound sometimes came out as 1/2 ulp instead of 1 ulp due to the mantissa rounding up to the next power of two, without a corresponding exponent correction. Fortunately, this should not affect ball arithmetic (which always rounds down).
2014-04-18 16:19:53 +02:00
Fredrik Johansson
24c2f11721
some code reorganisation; optimise fmpr_mul_si/ui/fmpz
2014-04-18 16:17:22 +02:00
Fredrik Johansson
991814c481
add fmpr_abs_bound_lt_2exp_si; some more simplification
2013-09-19 11:50:01 +01:00
Fredrik Johansson
4247d0ec22
add fmpr_abs_bound_le/lt_2exp_fmpz
2013-09-18 16:28:13 +01:00
Fredrik Johansson
4bd28225bc
use flint_cleanup() everywhere
2013-07-30 13:53:10 +02:00
Fredrik Johansson
d5b514e12c
add fmpr_set_d
2013-06-10 12:07:00 +02:00
Fredrik Johansson
2227adea03
faster high-precision division
2013-06-09 22:46:44 +02:00
Fredrik Johansson
82fd23e0da
add fmpr_divappr_abs_ubound; slightly speed up a few radius operations
2013-06-09 19:53:01 +02:00
Fredrik Johansson
5ceaf24774
add reciprocal square root functions (fmpr_rsqrt, fmprb_rsqrt, fmprb_rsqrt)
2013-06-09 16:20:44 +02:00
Fredrik Johansson
b656aefd5f
first version of rewritten fmpr_add (needs more cleanup, and code reuse in fmpr_sub etc)
2013-05-27 16:21:37 +02:00
Fredrik Johansson
06539da4e9
add helper functions for combined assignment and rounding of single or double limb mantissas
2013-05-27 15:24:03 +02:00
Fredrik Johansson
8a4943b533
add _fmpr_set_round_mpn, and simplify the implementation of fmpr_mul
2013-05-24 17:26:54 +02:00
Fredrik Johansson
35dfbda6b3
add fmpr_sum for accurate summation
2013-03-14 15:13:44 +01:00
Fredrik Johansson
605e503325
slightly stronger test code for fmpr_normalise
2013-03-14 14:42:17 +01:00
Fredrik Johansson
ce0a218839
add fmpr_root, fmprb_root (placeholder code)
2013-02-28 14:32:59 +01:00
Fredrik Johansson
de6acc668a
test large exponents
2013-02-17 19:34:51 +01:00
Fredrik Johansson
edd48c1652
improve fmpr_cmp_2exp_si, fmpr_cmpabs_2exp_si
2013-02-17 19:29:23 +01:00
Fredrik Johansson
1a5e170598
add fmpr_get_fmpz, fmpr_get_si
2013-02-13 11:22:03 +01:00
Fredrik Johansson
ef3a687c04
low-level set_round/normalise code
2013-01-09 16:36:21 +01:00
Fredrik Johansson
53b8e8b41f
low-level fmpr multiplication code
2013-01-03 15:11:55 +01:00
Fredrik Johansson
c2a9b8b3e8
add cmpabs, fix bugs, and simplify division error bounding
2012-09-14 12:38:43 +02:00
Fredrik Johansson
0efb13c77c
fix some bugs and add more test code
2012-09-13 13:47:22 +02:00
Fredrik Johansson
5c861c5329
add get/set_fmpz_2exp methods
2012-09-10 16:33:59 +02:00
Fredrik Johansson
0847d21f66
exp and log
2012-09-07 12:19:27 +02:00
Fredrik Johansson
24942a03c1
fmpq conversion code
2012-09-04 16:11:16 +02:00
Fredrik Johansson
c0800fbf08
fix addition bugs and strengthen test code
2012-09-04 15:17:03 +02:00
Fredrik Johansson
0ce37a3278
add cmp method
2012-09-03 00:05:16 +02:00
Fredrik Johansson
dc2a3cd404
code for gamma and zeta(n); some bugfixes
2012-09-02 06:09:40 +02:00
Fredrik Johansson
3695c29072
more functions, and first version of ball arithmetic
2012-09-01 23:32:52 +02:00
Fredrik Johansson
09990f94bc
fmpz based floating-point arithmetic (experimental)
2012-08-05 19:57:08 +02:00