summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-20 22:52:58 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-20 22:52:58 +0000
commitc6218dbae579de0cd20f5a7f1e9877673e28225d (patch)
tree0fc8aaf54189b8ef6a2d130c12539814e0a724ee /include/math.h
parent97112ff6f4f2a1dcd4c7f8a7512e0a4a02a2a332 (diff)
A number of updates from Manuel Novoa III. Things look good...
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