Commit graph

62 commits

Author SHA1 Message Date
Tommy Hofmann
dca95e673e Change flint_abort to abort only if flint > 2.5.2 2017-03-02 17:18:18 +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
109afaab0f add arf_sosq (sum of squares) 2017-02-18 15:56:00 +01:00
Isuru Fernando
d6f9129951 Add support for dll 2016-11-06 23:37:40 +05:30
Fredrik Johansson
2a11da1c15 fix unsafe use of FLINT_ABS for slong -> ulong conversion in arf.h 2016-10-28 21:44:12 +02:00
Fredrik Johansson
06df4d6dcb wrapper for zeta algorithms 2016-10-25 21:57:37 +02:00
Fredrik Johansson
84a49ff8fd add methods to count allocated bytes; restrict memory usage in zeta sum sieving 2016-10-19 17:58: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
f10d1de631 document some arf low-level methods 2016-04-29 14:04:49 +02:00
Fredrik Johansson
13bbbd92c6 add arf_frexp 2016-04-29 13:50:05 +02:00
Fredrik Johansson
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02: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
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
Jeroen Demeyer
a4c5930721 Use variable names which do not conflict with FLINT 2015-12-28 19:42:56 +01:00
William Hart
75d3be4cd1 BLAH_INLINE long -> BLAH_INLINE slong in *.h. 2015-11-10 13:58:05 +00: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
8c7ac256f3 long -> slong arf.h. 2015-11-06 11:14:53 +00:00
Fredrik Johansson
303913f631 add arf_root and improve arb_root 2015-06-17 18:37:53 +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
eaedd0c839 add floor and ceil functions 2014-10-30 15:54:50 +01: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
4e2456343b new arb_atan implementation 2014-08-12 12:58:19 +02:00
Fredrik Johansson
d53f08390f insert cast for C++ compatibility 2014-07-31 18:52:39 +02:00
Fredrik Johansson
46e15289fb document shallow assign functions 2014-07-30 16:58:38 +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
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
12dabe6db7 speed up low-precision addition 2014-05-22 23:13:38 +02:00
Fredrik Johansson
f43d0cf43d document some more arf functions 2014-05-19 14:29:26 +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
2fc800f0b8 add a rudimentary arf_t memory manager 2014-05-14 12:33:50 +02:00
Fredrik Johansson
9b992a306c square roots and some tweaks 2014-05-11 16:51:21 +02:00
Fredrik Johansson
48ddeea5ef more work on ball arithmetic 2014-05-09 16:50:01 +02:00
Fredrik Johansson
719ede74af more bugfixes and test code 2014-05-08 16:49:39 +02:00
Fredrik Johansson
0998aa9821 more code and test code 2014-05-08 14:48:36 +02:00
Fredrik Johansson
c268754bb0 very rough initial code for mag_t and arb_t types 2014-05-06 15:31:17 +02:00
Fredrik Johansson
4d66d4968a more multiplication and addmul/submul methods 2014-05-05 10:52:51 +02:00
Fredrik Johansson
6b30ee4363 add sqrt and rsqrt methods 2014-05-04 20:22:37 +02:00