diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-11-27 20:55:46 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-11-27 20:55:46 -0500 |
| commit | bad4eb382b571e3b883208980719bcc065218712 (patch) | |
| tree | 20fde33eab8628195c95c7bf6c573fe653260f25 /apps/plugins/puzzles/rbcompat.h | |
| parent | 3993f11a59fd912dba3a789f2c17fd6073b02688 (diff) | |
| parent | d71a2abe90a751fc1b8321fc53c38098c17b6bc8 (diff) | |
| download | rockbox-working.zip rockbox-working.tar.gz rockbox-working.tar.bz2 rockbox-working.tar.xz | |
Merge branch 'puzzles' into workingworking
Change-Id: I68d0d0820a30054ee67a71f36bddb6b55615b2e6
Diffstat (limited to 'apps/plugins/puzzles/rbcompat.h')
| -rw-r--r-- | apps/plugins/puzzles/rbcompat.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/apps/plugins/puzzles/rbcompat.h b/apps/plugins/puzzles/rbcompat.h index c733659..148aaef 100644 --- a/apps/plugins/puzzles/rbcompat.h +++ b/apps/plugins/puzzles/rbcompat.h @@ -7,26 +7,24 @@ int puts_wrapper(const char *s); double sin_wrapper(double rads); double cos_wrapper(double rads); int vsprintf_wrapper(char *s, const char *fmt, va_list ap); -double fabs_wrapper(double n); -double floor_wrapper(double n); +float fabs_wrapper(float n); +float floor_wrapper(float n); -double atan_wrapper(double x); -double atan2_wrapper(double y, double x); -double sqrt_wrapper(double x); +float atan_wrapper(float x); +float atan2_wrapper(float y, float x); +float sqrt_wrapper(float x); long strtol_wrapper(const char *nptr, char **endptr, int base); int64_t strtoq_wrapper(const char *nptr, char **endptr, int base); uint64_t strtouq_wrapper(const char *nptr, char **endptr, int base); -double pow_wrapper(double x, double y); -double scalbn_wrapper (double x, int n); -double ceil_wrapper(double x); +float pow_wrapper(float x, float y); +float ceil_wrapper(float x); size_t strspn_wrapper(const char *s1, const char *s2); size_t strcspn_wrapper(const char *s1, const char *s2); int sscanf_wrapper(const char *ibuf, const char *fmt, ...); -double atof_wrapper(char *s); +double atof_wrapper(const char *s); double acos_wrapper(double x); - #define acos acos_wrapper #define atan atan_wrapper #define atan2 atan2_wrapper |