Changeset c835e7c in mainline for src/debug/print.c
- Timestamp:
- 2005-09-03T20:55:06Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 946b630
- Parents:
- c4b3e3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/debug/print.c
rc4b3e3e rc835e7c 70 70 intval2=fmath_fint(fmath_get_decimal_exponent(num),&intval); 71 71 exponent=intval; 72 if ((intval2<0.0) &&(exponent<0)) exponent--;72 if ((intval2<0.0)) exponent--; 73 73 num = num / ((fmath_dpow(10.0,exponent))); 74 74 … … 120 120 } 121 121 122 if (intval==0.0) { 122 in1=intval; 123 if (in1==0.0) { 123 124 if (counter<DEFAULT_DOUBLE_BUFFER_SIZE) buf[counter++]='0'; 124 125 } else { 125 in1=intval;126 126 while(( in1>0 )&&(counter<DEFAULT_DOUBLE_BUFFER_SIZE)) { 127 127
Note:
See TracChangeset
for help on using the changeset viewer.