diff options
author | dzwdz | 2023-08-14 18:51:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-14 18:51:07 +0200 |
commit | 642b5fb0007b64c77d186fcb018d571152ee1d47 (patch) | |
tree | 1c466461f3602d306be309a053edae558ef2568e /src/user/lib/math.c | |
parent | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff) |
reorganization: first steps
Diffstat (limited to 'src/user/lib/math.c')
-rw-r--r-- | src/user/lib/math.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/user/lib/math.c b/src/user/lib/math.c deleted file mode 100644 index 4f8eda4..0000000 --- a/src/user/lib/math.c +++ /dev/null @@ -1,27 +0,0 @@ -#include <math.h> -#include <bits/panic.h> - -// TODO port a libm -#pragma GCC diagnostic ignored "-Wunused-parameter" -double acos(double x) { __libc_panic("unimplemented"); } -double asin(double x) { __libc_panic("unimplemented"); } -double atan2(double x, double y) { __libc_panic("unimplemented"); } -double cos(double x) { __libc_panic("unimplemented"); } -double cosh(double x) { __libc_panic("unimplemented"); } -double sin(double x) { __libc_panic("unimplemented"); } -double sinh(double x) { __libc_panic("unimplemented"); } -double tan(double x) { __libc_panic("unimplemented"); } -double tanh(double x) { __libc_panic("unimplemented"); } - -double fabs(double x) { __libc_panic("unimplemented"); } -double floor(double x) { __libc_panic("unimplemented"); } -double ceil(double x) { __libc_panic("unimplemented"); } -double log(double x) { __libc_panic("unimplemented"); } -double log2(double x) { __libc_panic("unimplemented"); } -double log10(double x) { __libc_panic("unimplemented"); } -double exp(double x) { __libc_panic("unimplemented"); } -double fmod(double x, double y) { __libc_panic("unimplemented"); } -double frexp(double num, int *exp) { __libc_panic("unimplemented"); } -double ldexp(double x, int exp) { __libc_panic("unimplemented"); } -double pow(double x, double y) { __libc_panic("unimplemented"); } -double sqrt(double x) { __libc_panic("unimplemented"); } |