Commit graph

38 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
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
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
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
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
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
eaedd0c839 add floor and ceil functions 2014-10-30 15:54:50 +01:00
Fredrik Johansson
2f4e46e263 document and test more functions 2014-06-20 10:21:21 +02:00
Fredrik Johansson
b014dbec80 add arf_set_d, arf_get_d 2014-06-04 12:55:05 +02:00
Fredrik Johansson
1bb9bd5482 arf-native sum, contains, overlaps 2014-05-26 18:23:38 +02:00
Fredrik Johansson
12dabe6db7 speed up low-precision addition 2014-05-22 23:13:38 +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
Fredrik Johansson
48ddeea5ef more work on ball arithmetic 2014-05-09 16:50:01 +02:00
Fredrik Johansson
4d66d4968a more multiplication and addmul/submul methods 2014-05-05 10:52:51 +02:00
Fredrik Johansson
51976c133e increase precision in test code 2014-05-05 00:11:26 +02:00
Fredrik Johansson
6b30ee4363 add sqrt and rsqrt methods 2014-05-04 20:22:37 +02:00
Fredrik Johansson
e72abb11ef division code 2014-05-04 02:01:18 +02:00
Fredrik Johansson
dd959c3ef9 more subtraction methods 2014-05-03 01:38:53 +02:00
Fredrik Johansson
08ea29c72f add add_si/ui/fmpz methods 2014-05-02 20:23:59 +02:00
Fredrik Johansson
3a16b8587d add sub 2014-05-02 17:59:34 +02:00
Fredrik Johansson
81055070cf preliminary addition code; some other code adjustments 2014-05-02 15:09:11 +02:00
Fredrik Johansson
7c0cf13fc9 multiplication code 2014-04-28 00:45:55 +02:00
Fredrik Johansson
24a8a6b31f more functions and test functions 2014-04-27 00:32:37 +02:00
Fredrik Johansson
d9a6e43aba add more functions 2014-04-26 23:16:23 +02:00
Fredrik Johansson
64b737e7e9 more test code 2014-04-26 20:45:46 +02:00
Fredrik Johansson
15a45f69c0 add more test code 2014-04-26 20:14:57 +02:00
Fredrik Johansson
4bc3ad084d +sgn, abs, cmp, cmpabs, get_mpfr, randtest, and some initial test code 2014-04-24 22:56:39 +02:00