about summary refs log tree commit diff
path: root/src/math/fma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/fma.c')
-rw-r--r--src/math/fma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/fma.c b/src/math/fma.c
index 0c6f90c9..adfadca8 100644
--- a/src/math/fma.c
+++ b/src/math/fma.c
@@ -53,7 +53,7 @@ double fma(double x, double y, double z)
 		return x*y + z;
 	if (nz.e >= ZEROINFNAN) {
 		if (nz.e > ZEROINFNAN) /* z==0 */
-			return x*y + z;
+			return x*y;
 		return z;
 	}