Commit graph

8 commits

Author SHA1 Message Date
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
ecb70e7476 update copyright headers to switch from GPL to LGPL 2016-04-26 17:20:05 +02:00
William Hart
34008143c1 long -> slong return values. 2015-11-10 13:41:43 +00:00
William Hart
93d40a7a9b long -> slong in fmpr/ and fmpr/test/. 2015-11-05 18:03:08 +00:00
Fredrik Johansson
0244fe0e46 Fix evil bug in floating-point arithmetic and strengthen test code.
When rounding up, the error bound sometimes came out as 1/2 ulp instead of 1 ulp due to the mantissa rounding up to the next power of two, without a corresponding exponent correction. Fortunately, this should not affect ball arithmetic (which always rounds down).
2014-04-18 16:19:53 +02:00
Fredrik Johansson
ef3a687c04 low-level set_round/normalise code 2013-01-09 16:36:21 +01:00
Fredrik Johansson
3695c29072 more functions, and first version of ball arithmetic 2012-09-01 23:32:52 +02:00
Fredrik Johansson
09990f94bc fmpz based floating-point arithmetic (experimental) 2012-08-05 19:57:08 +02:00