shithub: riscv

Download patch

ref: 72ad2d1ee12056d480b3da6d5c157ab0ba21a937
parent: 35065b9127adf06b0a19286ff7ccc87f14cff10d
author: aiju <devnull@localhost>
date: Fri May 4 17:42:08 EDT 2018

mpmagadd: oops...

--- a/sys/src/libmp/port/mpadd.c
+++ b/sys/src/libmp/port/mpadd.c
@@ -21,7 +21,6 @@
 	m = b2->top;
 	if(n == 0){
 		mpassign(mpzero, sum);
-		sum->sign = 1;
 		return;
 	}
 	if(m == 0){