Mercurial > hg > xemacs-beta
comparison src/sysfloat.h @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:04:58 +0200 |
parents | 360340f9fd5f |
children | e11d67e05968 |
comparison
equal
deleted
inserted
replaced
208:f427b8ec4379 | 209:41ff10fd062f |
---|---|
74 | 74 |
75 #ifdef FLOAT_CHECK_ERRNO | 75 #ifdef FLOAT_CHECK_ERRNO |
76 # include <errno.h> | 76 # include <errno.h> |
77 #endif | 77 #endif |
78 | 78 |
79 /* Avoid traps on VMS from sinh and cosh. | |
80 All the other functions set errno instead. */ | |
81 | |
82 #ifdef VMS | |
83 #undef cosh | |
84 #undef sinh | |
85 #define cosh(x) ((exp(x)+exp(-x))*0.5) | |
86 #define sinh(x) ((exp(x)-exp(-x))*0.5) | |
87 #endif /* VMS */ | |
88 | |
89 #ifndef isnan | 79 #ifndef isnan |
90 # define isnan(x) ((x) != (x)) | 80 # define isnan(x) ((x) != (x)) |
91 #endif | 81 #endif |
92 | 82 |