Mercurial > emacs
comparison src/floatfns.c @ 4881:e53d4ae93675
Declare `logb' only if HAVE_LOGB is defined.
author | Brian Fox <bfox@gnu.org> |
---|---|
date | Mon, 25 Oct 1993 04:54:54 +0000 |
parents | 136e32c763e3 |
children | 87f9165f5b14 |
comparison
equal
deleted
inserted
replaced
4880:a658d0e341b1 | 4881:e53d4ae93675 |
---|---|
63 #define _NMAXLDBL floatfns_nmaxldbl | 63 #define _NMAXLDBL floatfns_nmaxldbl |
64 #endif | 64 #endif |
65 | 65 |
66 #include <math.h> | 66 #include <math.h> |
67 | 67 |
68 #ifndef hpux | 68 /* This declaration is omitted on some systems, like Ultrix. */ |
69 /* These declarations are omitted on some systems, like Ultrix. */ | 69 #if !defined (hpux) && defined (HAVE_LOGB) |
70 extern double logb (); | 70 extern double logb (); |
71 #endif | 71 #endif /* !hpux && HAVE_LOGB */ |
72 | 72 |
73 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) | 73 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) |
74 /* If those are defined, then this is probably a `matherr' machine. */ | 74 /* If those are defined, then this is probably a `matherr' machine. */ |
75 # ifndef HAVE_MATHERR | 75 # ifndef HAVE_MATHERR |
76 # define HAVE_MATHERR | 76 # define HAVE_MATHERR |