musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/fmal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/fmal.c')
-rw-r--r--src/math/fmal.c 2
1 files changed, 2 insertions, 0 deletions
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;
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月25日 02:15:18 +0000

AltStyle によって変換されたページ (->オリジナル) /