rockbox/firmware
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
..
asm mips: Update the MIPS threading code 2018-09-07 09:55:12 +02:00
common Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
decompressor
drivers transflective LCDs: fix "first buttonpress enables backlight only" 2019-02-07 22:56:39 +01:00
export Fix red and remove duplicated function declaration 2019-02-08 00:04:20 +01:00
include Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
kernel Add HAVE_LINEOUT_DETECTION and associated logic 2019-01-04 23:52:42 +01:00
libc stdio compat layer for plugins 2017-12-23 20:54:56 -05:00
target Fix Truncation warning cpufreq-linux.c->cpufreq_available_governors 2019-07-10 07:09:00 +02:00
test Limit more variables to file scope 2015-01-11 21:40:51 +01:00
usbstack Workaround for usb_storage_init_connection() panic 2018-07-30 17:54:51 -04:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight.c Fix reversal of "always/never" in "LCD setting > Sleep (After Backlight Off)" 2019-06-27 14:19:05 +02:00
bidi.c
buflib.c Buflib add range checks blocks and crc_slot raise panic if out of range 2019-01-04 06:47:20 +01:00
COPYING
core_alloc.c Make a few local variables static 2015-01-11 18:02:43 +01:00
debug.c
eeprom_settings.c
enc_base.c
events.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
firmware.make Put -lfirmware in CORE_LIBS, to fix -thumb builds 2019-07-19 15:16:37 +02:00
font.c Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
font_cache.c
general.c Undo hacks to meant to get around string formatting limitations 2017-11-21 05:01:14 -05:00
hangul.c
ifp_usb_serial.c Make thirty functions static to reduce binary size 2015-01-05 18:44:36 +01:00
load_code.c
logf.c Implement a much more capable vuprintf() 2017-11-21 05:00:27 -05:00
lru.c
panic.c debug: Wrap rb_backtrace with HAVE_RB_BACKTRACE instead of CPU_ARM 2018-11-09 02:32:39 +01:00
pcm.c
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
profile.c
README
rolo.c rolo.c: Change 'int errno' to 'int err' 2017-11-07 16:48:07 -05:00
rom.lds
screendump.c Agptek Rocker: Initial commit 2018-06-12 10:31:14 +02:00
scroll_engine.c Remove lcd_scroll_worker from bootloader except remote displays and charcell 2018-05-23 00:37:27 +01:00
sdmmc.c
sound.c Get rid of the last remnants of HAVE_FUNCTIONAL_MODE 2018-09-20 22:03:03 +02:00
SOURCES Add proper float formatting to vuprintf 2019-07-19 22:07:41 -04:00
storage.c misc: Fix some assorted compiler warnings 2018-09-28 11:53:15 -04:00
system.c AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
timer.c
tuner.c Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
usb.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00

See docs/README