Commit graph

9 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
Fredrik Johansson
b4ebc87a1d use arb_test_multiplier to control number of test iterations 2016-04-10 17:24:58 +02:00
Fredrik Johansson
80640c87e2 include flint/foo.h instead of foo.h 2016-03-03 15:42:23 +01:00
William Hart
d8609e002f static long -> static slong in test/*.c. 2015-11-10 13:49:21 +00:00
William Hart
55c2827539 printf -> flint_printf, sprintf -> flint_sprintf, fprintf -> flint_fprintf. 2015-11-06 16:17:27 +00:00
William Hart
72abf04641 %ld -> %wd in *.c. 2015-11-06 15:51:44 +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
24c2f11721 some code reorganisation; optimise fmpr_mul_si/ui/fmpz 2014-04-18 16:17:22 +02:00