diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-06-04 17:06:04 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2009-06-04 17:06:04 +0000 |
commit | e013a370ac82ff163969d2b0e7a082b0a6e6bd28 (patch) | |
tree | 713c2d3396543ec5b452b7759824af1197680802 /tests | |
parent | 5e0c14ae8c276b91ff571003c3fd448beeb2fa3e (diff) | |
download | mpc-e013a370ac82ff163969d2b0e7a082b0a6e6bd28.tar.gz |
log.c: fake bug fix for infinite loop when intermediate overflow occurs
The computed value is now +inf, the test in log.dat is disabled.
While this is not a real bug fix, it is consistent with other parts of
the library where we do not correctly handle overflow of intermediate
results.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@558 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/log.dat | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/log.dat b/tests/log.dat index 1621277..7fbf43b 100644 --- a/tests/log.dat +++ b/tests/log.dat @@ -149,4 +149,7 @@ + + 53 0x162E4301C0025p-23 2 0x1p0 2 0x1p67108864 2 0x1p67108864 U U + + 53 0xB1721802E8F1p-21 2 0x1p0 2 0x1p134217728 2 0x1p134217728 U U + + 53 0x2C5C85FF57581p-22 2 0x1p0 2 0x1p268435456 2 0x1p268435456 U U -+ + 53 0x58B90BFD4BCBFp-22 2 0x1p0 2 0x1p536870912 2 0x1p536870912 U U +# Due to intermediate overflow, the following result has real part infinity +# instead of the correct result. Since this may happen in other parts of the +# library as well, we do not consider it a bug for the moment. +# + + 53 0x58B90BFD4BCBFp-22 2 0x1p0 2 0x1p536870912 2 0x1p536870912 U U |