Commit graph

6 commits

Author SHA1 Message Date
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
8a4943b533 add _fmpr_set_round_mpn, and simplify the implementation of fmpr_mul 2013-05-24 17:26:54 +02:00