Commit graph

4 commits

Author SHA1 Message Date
Fredrik Johansson
7c6b3fb932 fix bug in mul_1x1 2014-04-18 16:25:35 +02: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
5697316463 simplify interface 2014-04-18 16:17:42 +02:00
Fredrik Johansson
24c2f11721 some code reorganisation; optimise fmpr_mul_si/ui/fmpz 2014-04-18 16:17:22 +02:00