about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-19 02:05:57 +0100
committernsz <nsz@port70.net>2012-03-19 02:05:57 +0100
commit682e471400da612769b6e061f2e377db837274ef (patch)
treead206b9b5a31601493277ba7c4e69db690db5658 /src
parentd09a83f613c1d06442ed920ec55a0e5eedacb422 (diff)
downloadmusl-682e471400da612769b6e061f2e377db837274ef.tar.gz
musl-682e471400da612769b6e061f2e377db837274ef.tar.xz
musl-682e471400da612769b6e061f2e377db837274ef.zip
remove unnecessary TODO comments from fma.c
Diffstat (limited to 'src')
-rw-r--r--src/math/fma.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/math/fma.c b/src/math/fma.c
index a9de2cb3..87d450c7 100644
--- a/src/math/fma.c
+++ b/src/math/fma.c
@@ -23,10 +23,6 @@ static void add(long double *hi, long double *lo, long double x, long double y)
 	*lo = y - r;
 }
 
-/*
-TODO(nsz): probably simpler mul is enough if we assume x and y are doubles
-so last 11bits are all zeros, no subnormals etc
-*/
 /* exact mul, assumes no over/underflow */
 static void mul(long double *hi, long double *lo, long double x, long double y)
 {
@@ -115,7 +111,7 @@ double fma(double x, double y, double z)
 		add(&hi, &lo2, xy, z);
 		if (hi == 0) {
 			fesetround(round);
-			/* TODO: verify that the sign of 0 is always correct */
+			/* make sure that the sign of 0 is correct */
 			return (xy + z) + lo1;
 		}
 	} else {