Commit graph

72 commits

Author SHA1 Message Date
Fredrik Johansson
8b2c1704f0 use flint fft mpn_mul 2022-05-18 15:43:00 +02:00
fredrik
5d8822781e add arf_equal_ui, arf_equal_d (fixes #381) 2022-01-14 14:38:15 +01:00
fredrik
915022dc31 add arf_get_str; rewrite arf_fprintd 2022-01-14 14:22:16 +01:00
fredrik
7748f0230c add arf_fma, arb_fma, arb_fma_ui 2021-07-25 12:41:17 +02:00
fredrik
d49264f251 arb_dot_fmpz and variants 2021-07-02 11:08:00 +02:00
Albin Ahlbäck
ef6b9f2449 Second review after Fredrik's comments 2021-05-18 01:41:46 +02:00
Albin Ahlbäck
7eab089f7c Revise after Fredrik's comments on uni. dist. rand 2021-05-16 03:22:35 +02:00
Albin Ahlbäck
59bb0b02c2 Add unif. dist. random numbers to header files 2021-05-15 21:00:11 +02:00
fredrik
caf9bb7825 mp_bitcnt_t -> flint_bitcnt_t 2020-06-22 23:48:09 +02:00
Julian Rüth
57f4739e43
Add serialization arb/arf/mag_load/dump_str/file 2019-10-05 17:56:24 +02:00
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