1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

67 commits

Author SHA1 Message Date
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
c26406fef2 * floatfns.c (logb): Add extern declaration for this.
* floatfns.c (Flogb): Under SYSV, implement this using frexp.
1993-03-15 20:17:07 +00:00
Richard M. Stallman
5bf5416601 (Flogb): Fix arg names. Don't confuse Lisp_Object with integer. 1993-03-11 07:25:50 +00:00
Richard M. Stallman
6628c5eaa0 (Flogb): Fix use of IN_FLOAT. 1993-03-11 07:22:49 +00:00
Jim Blandy
340176df06 * floatfns.c (Flogb): Undo the change of Feb 22. 1993-03-11 07:13:24 +00:00
Richard M. Stallman
4b6baf5f45 (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
Changes from Lucid:
(HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
(FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
(HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
[!HAVE_RINT]: Define rint as macro.
(IN_FLOAT): Major rewrite; several alternate versions.
(IN_FLOAT2): New macro.
(arith_error, range_error, domain_error, domain_error2): New macros.
(Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
(Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
(Ffloor, Fceiling, Fround, Ftruncate): Changed.
(Fcube_root): Renamed from Fcbrt.
(matherr): New function.
(float_error): Only if FLOAT_CATCH_SIGILL.
1993-03-10 05:33:40 +00:00
Jim Blandy
f8d830994a * floatfns.c (Flogb): Always implement this by calling Flog, even
on non-USG systems, which supposedly have a logb function.
	(Fround): Always implement this by calling floor, even on systems
	that have rint.

	* floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.
1993-02-22 14:41:26 +00:00
Jim Blandy
c2e42adb64 * floatfns.c (Flog): Fix unescaped newline in string.
* frame.c (Fnext_frame): Same.
	* textprop.c (Fprevious_single_property_change): Same.
	(syms_of_textprop): Same, for DEFVAR for
	`interval_balance_threshold'.
1992-12-24 06:16:01 +00:00
Jim Blandy
1cee204565 * floatfns.c (Flog): Don't forget to declare the BASE argument a
Lisp_Object.

	* floatfns.c (Fexpt): Don't return the value of the XSET function
	call; that's not guaranteed to be the value assigned.
1992-10-31 05:19:58 +00:00
Jim Blandy
56abb480f7 * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely
available, and hardly vital.
	(syms_of_floatfns): Adjusted appropriately.

	* floatfns.c (Flog): Accept optional second arg, being the base
	for the logarithm.
	[USG] (Flogb): Define this in terms of Flog.
1992-08-19 06:26:13 +00:00
Richard M. Stallman
706ac90d20 entered into RCS 1992-06-07 01:50:14 +00:00
Richard M. Stallman
c2d4ea7421 *** empty log message *** 1992-06-04 04:22:08 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
32676c085c *** empty log message *** 1992-05-01 06:20:46 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Mike Rowan
b70021f430 Initial revision 1990-09-27 21:17:59 +00:00