allow for three digits in exponent
This commit is contained in:
parent
d93436cb6b
commit
4d9965a774
@ -57,6 +57,10 @@ char *_pscien(r,s,n,b) float r; register char *s; {
|
||||
} else {
|
||||
*s++ = '+' ;
|
||||
}
|
||||
if (dp >= 100) {
|
||||
*s++ = '0' + (dp / 100);
|
||||
dp %= 100;
|
||||
}
|
||||
*s++ = '0' + (dp/10);
|
||||
*s++ = '0' + (dp%10);
|
||||
return(s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user