X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffma.c;h=850a4a6c7f0dcc164521082be8fef0fac986c11f;hb=9448b0513e2eec020fbca9c10412b83df5027a16;hp=89def795943573d1568c5328ee95b2c9efc27b36;hpb=ffd8ac2dd50f99c3c83d7d9d845df9874ec3e7d5;p=musl diff --git a/src/math/fma.c b/src/math/fma.c index 89def795..850a4a6c 100644 --- a/src/math/fma.c +++ b/src/math/fma.c @@ -441,6 +441,8 @@ double fma(double x, double y, double z) /* * There is no need to worry about double rounding in directed * rounding modes. + * TODO: underflow is not raised properly, example in downward rounding: + * fma(0x1.000000001p-1000, 0x1.000000001p-30, -0x1p-1066) */ fesetround(oround); adj = r.lo + xy.lo;