forked from len0rd/rockbox
Wanted to see how gnarly it is to do. Big number handling could be done with better algorithms since it can get a bit slow with large integers or tiny fractions with many lead zeros when only a few digits are needed. Anyway, it supports %e, %E, %f, %F, %g and %G. No %a or long double support seems warranted at the moment. Assumes IEEE 754 double format but it's laid out to be able to replace a function to handle others if needed. Tested in a driver program that has a duplicate vuprintf and the content was pasted in once it looked sound enough to put up a patch. Change-Id: I6dae8624d3208e644c88e36e6a17d8fc9144f988 |
||
|---|---|---|
| .. | ||
| _ansi.h | ||
| ap_int.h | ||
| assert.h | ||
| bitarray.h | ||
| buflib.h | ||
| core_alloc.h | ||
| crc32-mi4.h | ||
| crc32-rkw.h | ||
| crc32.h | ||
| dbgcheck.h | ||
| diacritic.h | ||
| dir.h | ||
| dircache.h | ||
| dircache_redirect.h | ||
| disk_cache.h | ||
| file.h | ||
| file_internal.h | ||
| fileobj_mgr.h | ||
| filesystem-native.h | ||
| font_cache.h | ||
| fs_attr.h | ||
| fs_defines.h | ||
| gcc_extensions.h | ||
| linked_list.h | ||
| loader_strerror.h | ||
| lru.h | ||
| memset16.h | ||
| rb-loader.h | ||
| rbendian.h | ||
| rbunicode.h | ||
| strcasecmp.h | ||
| strcasestr.h | ||
| string-extra.h | ||
| strlcat.h | ||
| strlcpy.h | ||
| strnatcmp.h | ||
| strtok_r.h | ||
| timefuncs.h | ||
| version.h | ||
| vuprintf.h | ||