Changeset b612ded6 in mainline
- Timestamp:
- 2007-01-30T11:16:09Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa8e7d2
- Parents:
- 831a04d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/func.c
r831a04d0 rb612ded6 225 225 { 226 226 if (val > 1000000000000000000LL) { 227 *rv = val / 1000000000000000 000LL;227 *rv = val / 1000000000000000LL; 228 228 *suffix = 'E'; 229 } else if (val > 1000000000000 LL) {229 } else if (val > 1000000000000000LL) { 230 230 *rv = val / 1000000000000LL; 231 231 *suffix = 'T'; 232 } else if (val > 1000000LL) { 232 } else if (val > 1000000000000LL) { 233 *rv = val / 1000000000LL; 234 *suffix = 'G'; 235 } else if (val > 1000000000LL) { 233 236 *rv = val / 1000000LL; 234 237 *suffix = 'M'; 238 } else if (val > 1000000LL) { 239 *rv = val / 1000LL; 240 *suffix = 'k'; 235 241 } else { 236 242 *rv = val;
Note:
See TracChangeset
for help on using the changeset viewer.