Commit graph

74 commits

Author SHA1 Message Date
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
Fredrik Johansson
eaedd0c839 add floor and ceil functions 2014-10-30 15:54:50 +01:00
Fredrik Johansson
b165977d47 fix a printing issue 2014-10-15 16:41:50 +02:00
Fredrik Johansson
0b18b1d961 when attempting to printd huge numbers, print something instead of dying 2014-10-08 15:54:08 +02:00
Fredrik Johansson
a4019154e7 replace makefiles with version based on the improved flint makefiles 2014-08-18 22:53:50 +02:00
Fredrik Johansson
fdc3f4b087 improve arf_get_fmpz 2014-08-09 16:43:03 +02:00
Fredrik Johansson
ba9b08cd23 fix 32-bit bug 2014-06-20 13:25:55 +02:00
Fredrik Johansson
2f4e46e263 document and test more functions 2014-06-20 10:21:21 +02:00
Fredrik Johansson
a4224df956 port sin/cos_pi 2014-06-17 14:56:29 +02:00
Fredrik Johansson
b014dbec80 add arf_set_d, arf_get_d 2014-06-04 12:55:05 +02:00
Fredrik Johansson
4df2988515 update documentation 2014-05-27 20:14:09 +02:00
Fredrik Johansson
1bb9bd5482 arf-native sum, contains, overlaps 2014-05-26 18:23:38 +02:00
Fredrik Johansson
301da18e89 move some code to the right places 2014-05-26 14:24:18 +02:00
Fredrik Johansson
5598dece32 fix memory leak 2014-05-23 14:02:58 +02:00
Fredrik Johansson
12dabe6db7 speed up low-precision addition 2014-05-22 23:13:38 +02:00
Fredrik Johansson
80d7a04e02 improve in-place set/neg_round 2014-05-20 00:56:44 +02:00
Fredrik Johansson
d49ce1fc5f move out fmpz_lshift_mpn and test 2014-05-19 14:49:31 +02:00
Fredrik Johansson
76d4f04fbe more work on complex multiplication 2014-05-15 19:20:44 +02:00
Fredrik Johansson
6575ccf454 initial code for complex numbers 2014-05-15 16:36:30 +02:00