X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Ffmal.c;h=87e30fcf65394f71b34027081feb9cab0f013ca4;hp=ccbe434d0eae6b883fc07e48bc3b5b79f9c971ff;hb=1e5eb73545ca6cfe8b918798835aaf6e07af5beb;hpb=033a9d6ad2a65ac03156b179e7c6101d2e72c4c0 diff --git a/src/math/fmal.c b/src/math/fmal.c index ccbe434d..87e30fcf 100644 --- a/src/math/fmal.c +++ b/src/math/fmal.c @@ -262,6 +262,8 @@ long double fmal(long double x, long double y, long double z) /* * There is no need to worry about double rounding in directed * rounding modes. + * TODO: underflow is not raised correctly, example in downward rounding: + * fmal(0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L) */ fesetround(oround); adj = r.lo + xy.lo;