mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 19:42:40 -05:00
puzzles: fix floating-point formatting
This is pretty ad-hoc, but the only other ways are to rewrite sprintf (which would use too much memory on the c200v2), or implement support for floats in rockbox's formatter, neither of which are acceptable. Change-Id: I70d59fd3e90a16e2db9ae0a84cd8c14807f50b46
This commit is contained in:
parent
bf25f3e6e7
commit
c78ff7f615
6 changed files with 23 additions and 7 deletions
|
|
@ -15,6 +15,7 @@ double cos_wrapper(double rads);
|
|||
int vsprintf_wrapper(char *s, const char *fmt, va_list ap);
|
||||
float fabs_wrapper(float n);
|
||||
float floor_wrapper(float n);
|
||||
int ftoa(char *buf, int len, float f);
|
||||
|
||||
float atan_wrapper(float x);
|
||||
float atan2_wrapper(float y, float x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue