blob: bf7c0391e90023d8eb07bab9cbec591451720d52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <math.h>
#include <user/lib/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"); }
|