#include <signal.h>
-#include "config.h"
+#include <config.h>
#include "lisp.h"
#include "syssignal.h"
}
DEFUN ("logb", Flogb, Slogb, 1, 1, 0,
- "Returns the integer not greater than the base 2 log of the magnitude of ARG.\n\
+ "Returns largest integer <= the base 2 log of the magnitude of ARG.\n\
This is the same as the exponent of a float.")
(arg)
Lisp_Object arg;
XSET (val, Lisp_Int, exp-1);
}
#else
- Well, what *do* you have?
+ /* Would someone like to write code to emulate logb? */
+ error ("`logb' not implemented on this operating system");
#endif
#endif