Commit graph

53 commits

Author SHA1 Message Date
fredrik
7748f0230c add arf_fma, arb_fma, arb_fma_ui 2021-07-25 12:41:17 +02:00
p15-git-acc
75cf01c68a use the right format specifiers for slong and ulong 2020-11-12 16:41:19 -06:00
fredrik
89f53d9d0f tmpfile checks: exclude mingw too 2020-06-23 13:48:42 +02:00
fredrik
9891019fed assume tmpfile() is broken on windows 2020-06-09 09:37:32 +02:00
fredrik
f433b7597e change arf_get_mpfr to return an MPFR underflow/overflow result instead of throwing flint_abort() if the exponent is out of bounds 2020-03-30 12:34:08 +02: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 Johansson
bd243ec590 arf_set_d, fmpr_set_d: fix handling of subnormals 2017-08-11 02:26:16 +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
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
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