diff options
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 8ee28210e43..d454d6e3cf1 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -101,16 +101,6 @@ extern int errno; | |||
| 101 | #endif | 101 | #endif |
| 102 | #endif | 102 | #endif |
| 103 | 103 | ||
| 104 | /* Avoid traps on VMS from sinh and cosh. | ||
| 105 | All the other functions set errno instead. */ | ||
| 106 | |||
| 107 | #ifdef VMS | ||
| 108 | #undef cosh | ||
| 109 | #undef sinh | ||
| 110 | #define cosh(x) ((exp(x)+exp(-x))*0.5) | ||
| 111 | #define sinh(x) ((exp(x)-exp(-x))*0.5) | ||
| 112 | #endif /* VMS */ | ||
| 113 | |||
| 114 | #ifdef FLOAT_CATCH_SIGILL | 104 | #ifdef FLOAT_CATCH_SIGILL |
| 115 | static SIGTYPE float_error (); | 105 | static SIGTYPE float_error (); |
| 116 | #endif | 106 | #endif |