Mercurial > sos > sos
changeset 28:cced4d365c5e
Removed some debugging lines
author | Jonathan Pevarnek <pevarnj@gmail.com> |
---|---|
date | Mon, 04 Apr 2011 14:10:28 -0400 |
parents | 1a070e843bf6 |
children | fc797d0cb298 |
files | src/std.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/std.c Tue Mar 29 22:05:03 2011 -0400 +++ b/src/std.c Mon Apr 04 14:10:28 2011 -0400 @@ -40,7 +40,6 @@ } else { s64 n = (s64) x; //integer part double d = abs(x - (double) n); //fractional part; - if(d != 0) sPrint("WORKING\n"); itoa(n, a, 10); if(prec) { //only do the decimal part if decimal parts were asked for while(*a && *++a); //get to the null character from itoa @@ -48,9 +47,6 @@ *a++ = '.'; //put the decimal in place for(i = 0; i < prec; i++) { d *= 10; //the integer part is the decimal digit - char aoeu[43]; - sPrint(itoa((int) d, aoeu, 10)); - sPrint("\n"); *a++ = ((int) d) + '0'; //add the integer part of d to the string d -= (int) d; //chop off the integer part } a--; //move back to the last digit