rockbox/firmware/include
Michael Sevakis b70fecf21d Add proper float formatting to vuprintf
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
2019-07-19 22:07:41 -04:00
..
_ansi.h
ap_int.h Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
assert.h
bitarray.h Agptek Rocker: Initial commit 2018-06-12 10:31:14 +02:00
buflib.h Improve core_alloc() / buflib_alloc() documentation 2015-01-02 18:51:15 +01:00
core_alloc.h
crc32-mi4.h
crc32-rkw.h
crc32.h
dbgcheck.h
diacritic.h
dir.h Fix path handling snafu for CheckWPS tool 2017-01-16 07:30:39 -05:00
dircache.h Restore dircache hookup in the database ramcache. 2017-02-10 05:05:23 -05:00
dircache_redirect.h Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
disk_cache.h Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
file.h Fix path handling snafu for CheckWPS tool 2017-01-16 07:30:39 -05:00
file_internal.h Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
fileobj_mgr.h Do some debug and preparatory work for ramcache and playlist 2017-01-17 14:35:36 -05:00
filesystem-native.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
font_cache.h
fs_attr.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
fs_defines.h Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
gcc_extensions.h
linked_list.h
loader_strerror.h
lru.h
memset16.h
rb-loader.h Add boot from other volumes in bootloader on targets with HAVE_MULTIVOLUME 2017-10-29 17:53:04 +01:00
rbendian.h rbendian.h: fall back to generic swap macros 2019-07-09 11:20:55 -04:00
rbunicode.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
strcasecmp.h
strcasestr.h
string-extra.h Hopefully fix most of the errors and warnings from the last push 2014-08-29 23:36:11 -04:00
strlcat.h
strlcpy.h
strnatcmp.h
strtok_r.h
timefuncs.h
version.h Prevent spurious recompiles on account of changed version. 2014-08-28 15:48:56 +02:00
vuprintf.h Implement a much more capable vuprintf() 2017-11-21 05:00:27 -05:00