Commit graph

12 commits

Author SHA1 Message Date
fredrik
caf9bb7825 mp_bitcnt_t -> flint_bitcnt_t 2020-06-22 23:48:09 +02: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
b656aefd5f first version of rewritten fmpr_add (needs more cleanup, and code reuse in fmpr_sub etc) 2013-05-27 16:21:37 +02:00
Fredrik Johansson
f872b2f6b2 add fmpz_extras module to collect fmpz helper functions 2013-02-17 17:58:15 +01:00
Fredrik Johansson
531e238541 fix some unused variable warnings 2013-01-26 21:11:31 +01:00
Fredrik Johansson
f376100ac2 replace improper FMPR_PREC_EXACT with FMPR_RESULT_EXACT 2013-01-10 15:38:19 +01:00
Fredrik Johansson
b14b3ebad4 hopefully proper fix for aliasing issue 2013-01-09 18:08:08 +01:00
Fredrik Johansson
604ba107b0 possible fix for a bug I don't understand 2013-01-09 18:01:30 +01:00
Fredrik Johansson
ef3a687c04 low-level set_round/normalise code 2013-01-09 16:36:21 +01:00