Commit graph

92 commits

Author SHA1 Message Date
fredrik
eb7bb53559 fix warnings 2019-10-14 14:18:01 -04:00
Julian Rüth
bd9cc1a913
normalize file names 2019-10-05 18:35:58 +02:00
Julian Rüth
57f4739e43
Add serialization arb/arf/mag_load/dump_str/file 2019-10-05 17:56:24 +02:00
fredrik
a7d9c0b1c1 mpfr 4.0 deprecated mpfr_root 2018-02-11 00:41:38 +01:00
Fredrik Johansson
bd243ec590 arf_set_d, fmpr_set_d: fix handling of subnormals 2017-08-11 02:26:16 +02:00
Fredrik Johansson
e71718411e silence compiler warnings caused by flint_abort 2017-06-18 17:06:17 +02: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
109afaab0f add arf_sosq (sum of squares) 2017-02-18 15:56:00 +01:00
Isuru Fernando
d59759a951 Fix weird bug in CMake exporting 2016-11-06 23:37:40 +05:30
Fredrik Johansson
06df4d6dcb wrapper for zeta algorithms 2016-10-25 21:57:37 +02:00
Fredrik Johansson
2789e4555a add arf_cmp_si, arf_cmp_ui, arf_cmp_d 2016-10-11 13:12:22 +02:00
Fredrik Johansson
6316497cf5 de-inline clear() methods -> 8% faster compile, 25% smaller libarb.so 2016-07-05 00:26:55 +02:00
Fredrik Johansson
d9660d9d9b restore arf t-add_si 2016-06-12 13:13:10 +02:00
Fredrik Johansson
ef7b2d5fc7 test arf_div with rounding-to-nearest 2016-04-29 15:02:36 +02:00
Fredrik Johansson
13bbbd92c6 add arf_frexp 2016-04-29 13:50:05 +02:00
Fredrik Johansson
95fbab4a2e revert debug code 2016-04-28 01:51:19 +02:00
Fredrik Johansson
6815df6eca test ARF_RND_NEAR in addition-related methods 2016-04-28 01:40:39 +02:00
Fredrik Johansson
f2afe67fac fix bug in last commit 2016-04-28 01:40:19 +02:00
Fredrik Johansson
b6a273370f support ARF_RND_NEAR in _arf_set_round_ui/uiui 2016-04-27 23:20:35 +02:00
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
Fredrik Johansson
f33e51ff93 remove unused code chunk 2016-04-15 16:20:01 +02:00
Fredrik Johansson
ce31cfdc05 arf_neg_round supports ARF_RND_NEAR; add test code 2016-04-15 15:39:35 +02:00
Fredrik Johansson
16f6ebd87b support ARF_RND_NEAR in arf_mul_* methods 2016-04-15 15:27:34 +02:00
Fredrik Johansson
bbdf4f9c52 move handling of ARF_RND_NEAR to _arf_set_round_mpn 2016-04-15 15:11:08 +02:00
Fredrik Johansson
3286690aa1 fix a very rare but serious bug: mag_addmul(x,x,x) with x = 0.1111...1111 -> non-normalized mag_t value 2016-04-10 23:54:20 +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
b9aab31961 support round-to-nearest in arf_set_round 2016-03-07 17:53:54 +01:00
Fredrik Johansson
80640c87e2 include flint/foo.h instead of foo.h 2016-03-03 15:42:23 +01:00
Fredrik Johansson
2ba00389d6 move _arf_set_mpn_fixed to its own file and document it 2016-02-28 02:29:20 +01:00
Fredrik Johansson
ecf90c9c5f move _arf_get_integer_mpn to its own file and document it 2016-02-28 02:07:04 +01:00
Fredrik Johansson
493234ef86 arf_get_fmpz: optimize the last cases, optimize the fmpz_fixed versions, and test more 2016-02-26 16:57:19 +01:00
Fredrik Johansson
3fa073651f un-inline arf_is_int, arf_is_int_2exp_si; small optimization of arf_is_int; add test code 2016-02-26 13:54:10 +01:00
Fredrik Johansson
8c5d26de65 arf_get_fmpz: speed up rounding to nearest in common cases 2016-02-25 15:03:09 +01:00
alex
aef5f68625 DOC: more carefully preserve authorship info 2016-01-01 17:25:30 -05:00
alex
c7ef0f64ac MAINT: print(...) is now implemented like fprint(stdout, ...) 2016-01-01 17:18:55 -05:00
alex
020433d0dc ENH: add fprint 2015-12-31 19:06:07 -05:00
William Hart
34008143c1 long -> slong return values. 2015-11-10 13:41:43 +00:00
William Hart
22e6bc7b09 LONG_MAX/ULONG_MAX -> WORD_MAX/UWORD_MAX in *.c and test/*.c. 2015-11-10 13:31:16 +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
5513b601c8 (U)L -> (U)WORD. 2015-11-06 15:34:19 +00:00
William Hart
714f564c5e long -> slong in arf/ and arf/test/. 2015-11-05 18:00:39 +00:00
Fredrik Johansson
304399338a arf_get_d: correct under/overflow, and allow round-to-nearest 2015-10-02 11:29:43 +02:00
Fredrik Johansson
303913f631 add arf_root and improve arb_root 2015-06-17 18:37:53 +02:00
Fredrik Johansson
2504089ad5 arf_get_mag_lower(nan) -> 0 2015-04-19 05:42:29 +02:00
Fredrik Johansson
d212f84652 implement incomplete gamma function 2015-01-21 16:14:46 +01:00
Fredrik Johansson
d7a1a84f25 add inline functions to library 2014-12-25 15:50:37 +01:00
Fredrik Johansson
991fd713e0 fix last 2014-12-09 15:43:04 +01:00
Fredrik Johansson
210337d95b improve speed (hopefully) of division with GMP 2014-12-09 13:58:45 +01:00