diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-20 22:52:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-20 22:52:58 +0000 |
commit | c6218dbae579de0cd20f5a7f1e9877673e28225d (patch) | |
tree | 0fc8aaf54189b8ef6a2d130c12539814e0a724ee /include | |
parent | 97112ff6f4f2a1dcd4c7f8a7512e0a4a02a2a332 (diff) |
A number of updates from Manuel Novoa III. Things look good...
Diffstat (limited to 'include')
-rw-r--r-- | include/math.h | 6 | ||||
-rw-r--r-- | include/stdlib.h | 4 |
2 files changed, 8 insertions, 2 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 diff --git a/include/stdlib.h b/include/stdlib.h index 20261bdc1..6ad53fc9a 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -46,8 +46,8 @@ typedef __compar_fn_t comparison_fn_t; extern long strtol __P ((const char * nptr, char ** endptr, int base)); extern unsigned long strtoul __P ((const char * nptr, char ** endptr, int base)); #ifndef __HAS_NO_FLOATS__ -extern char * gcvt __P ((float number, size_t ndigit, char * buf)); -extern float strtod __P ((const char * nptr, char ** endptr)); +/*TODO: extern char * gcvt __P ((double number, size_t ndigit, char * buf)); */ +extern double strtod __P ((const char * nptr, char ** endptr)); #endif |