summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math.h')
-rw-r--r--include/math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/math.h b/include/math.h
index 6fbb4c7f5..032b2b073 100644
--- a/include/math.h
+++ b/include/math.h
@@ -28,6 +28,11 @@ typedef struct {
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
+#if 1
+extern double sin(double);
+extern double cos(double);
+extern double sqrt(double);
+#else
extern float acos ( float x );
extern float acosh ( float xx );
extern int airy ( float xx, float *ai, float *aip, float *bi, float *bip );
@@ -168,3 +173,4 @@ extern float yn ( int nn, float xx );
extern float yv ( float vv, float xx );
extern float zetac ( float xx );
extern float zeta ( float xx, float qq );
+#endif