summaryrefslogtreecommitdiff
path: root/src/fma.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-02-22 15:49:53 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2018-02-22 15:49:53 +0000
commit525c647f922873a929bedb760547baafdda84efd (patch)
tree16fb5a01332f6f04414972db676d62d2ebe81e2a /src/fma.c
parent37f87dcd5cd4c3c3e6a6fcfdfa805be7f6e26f9f (diff)
downloadmpfr-525c647f922873a929bedb760547baafdda84efd.tar.gz
[src/fma.c] Added FIXME for r12396, which still seems incorrect.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12403 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/fma.c')
-rw-r--r--src/fma.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fma.c b/src/fma.c
index a75949cb7..9fa113099 100644
--- a/src/fma.c
+++ b/src/fma.c
@@ -265,7 +265,10 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
{
/* |z| < ulp(u)/4, where the ulp is meant with the precision
of the result s, therefore one can use z instead of z/4,
- including when u is a power of 2! */
+ including when u is a power of 2!
+ FIXME[VL]: It should be |z| < ulp(u)/4 where the precision
+ considered for the ulp is the maximum of the precisions of
+ s and u. First, add a test... */
zz = z;
}
else