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 Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
ap_int.h Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
assert.h strncpy.c / assert.h : need to include _ansi.h 2010-07-25 14:53:06 +00:00
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 buflib: Properly support allocations without any name, to avoid wasting space 2014-02-02 19:40:38 +01:00
crc32-mi4.h crc-mi4: use const lookup table for crc 2014-07-07 12:54:50 +02:00
crc32-rkw.h Add RKW firmware file format loader 2012-03-04 00:34:26 +01:00
crc32.h buflib: Add crc field protecting buflib cookie integrity 2014-01-16 10:17:39 +01:00
dbgcheck.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
diacritic.h FS#11187 - diacritic.c is in 'drivers' but it does not belong there 2010-04-07 20:41:18 +00:00
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 fonts: Do not unload completely on USB. 2014-01-15 23:37:39 +01:00
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 Add a NO_INLINE attribute to gcc_extensions. 2012-04-26 16:04:43 -04:00
linked_list.h Add common linked list functions 2014-08-16 00:27:01 -04:00
loader_strerror.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
lru.h Finish r30818 revert 2011-10-22 08:23:52 +00:00
memset16.h Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
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 Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strcasestr.h Fix tabs in .c and .h files in firmware/ 2011-05-08 11:37:18 +00:00
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 Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strlcpy.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strnatcmp.h
strtok_r.h Make the sim buildable with mingw again 2010-05-14 22:57:52 +00:00
timefuncs.h Remove USB time sync code when there's no RTC. 2011-12-16 00:09:28 +00:00
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