comparison src/floatfns.c @ 7448:bf93ac2d8409

Don't declare logb if it is a macro.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 May 1994 00:17:44 +0000
parents cbfcfccd5eae
children 5e5f6d06fb5b
comparison
equal deleted inserted replaced
7447:5589126476ca 7448:bf93ac2d8409
71 #endif 71 #endif
72 72
73 #include <math.h> 73 #include <math.h>
74 74
75 /* This declaration is omitted on some systems, like Ultrix. */ 75 /* This declaration is omitted on some systems, like Ultrix. */
76 #if !defined (HPUX) && defined (HAVE_LOGB) 76 #if !defined (HPUX) && defined (HAVE_LOGB) && !defined (logb)
77 extern double logb (); 77 extern double logb ();
78 #endif /* not HPUX and HAVE_LOGB */ 78 #endif /* not HPUX and HAVE_LOGB and no logb macro */
79 79
80 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) 80 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW)
81 /* If those are defined, then this is probably a `matherr' machine. */ 81 /* If those are defined, then this is probably a `matherr' machine. */
82 # ifndef HAVE_MATHERR 82 # ifndef HAVE_MATHERR
83 # define HAVE_MATHERR 83 # define HAVE_MATHERR