From e55af07e060b95b74da4e24511048a1423ec6944 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 12 Feb 2018 13:09:31 +0000 Subject: [PATCH] fixed toString function remove the printf call that seems to break the ability to print to serial on arduino. --- Float64ops.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Float64ops.cpp b/Float64ops.cpp index a4f8eaf..f95a282 100644 --- a/Float64ops.cpp +++ b/Float64ops.cpp @@ -229,7 +229,6 @@ char * f64::toString(int afterpoint) const if(aft_point>8-en)afterpoint=8-en; } - printf(" e:%d, ep:%d, en:%d\n",e, ep, en); small=f64_div( i32_to_f64(obase/2),i64_to_f64(powbase(afterpoint+1,obase)) ); v = f64_add(v, small); /* force rounding upward */ /* (make .99999999999999 = 1.0) */