aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * floatfns.c (logb): Add extern declaration for this.Jim Blandy1993-03-151-4/+13
| | | | * floatfns.c (Flogb): Under SYSV, implement this using frexp.
* (Flogb): Fix arg names. Don't confuse Lisp_Object with integer.Richard M. Stallman1993-03-111-3/+4
|
* (Flogb): Fix use of IN_FLOAT.Richard M. Stallman1993-03-111-1/+1
|
* * floatfns.c (Flogb): Undo the change of Feb 22.Jim Blandy1993-03-111-5/+11
|
* (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.Richard M. Stallman1993-03-101-184/+447
| | | | | | | | | | | | | | | | | 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.
* * floatfns.c (Flogb): Always implement this by calling Flog, evenJim Blandy1993-02-221-16/+15
| | | | | | | | 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.
* * floatfns.c (Flog): Fix unescaped newline in string.Jim Blandy1992-12-241-1/+1
| | | | | | | * frame.c (Fnext_frame): Same. * textprop.c (Fprevious_single_property_change): Same. (syms_of_textprop): Same, for DEFVAR for `interval_balance_threshold'.
* * floatfns.c (Flog): Don't forget to declare the BASE argument aJim Blandy1992-10-311-2/+3
| | | | | | | Lisp_Object. * floatfns.c (Fexpt): Don't return the value of the XSET function call; that's not guaranteed to be the value assigned.
* * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widelyJim Blandy1992-08-191-30/+27
| | | | | | | | | 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.
* entered into RCSRichard M. Stallman1992-06-071-5/+5
|
* *** empty log message ***Richard M. Stallman1992-06-041-95/+110
|
* *** empty log message ***Jim Blandy1992-05-101-5/+2
|
* *** empty log message ***Jim Blandy1992-05-011-1/+5
|
* *** empty log message ***Jim Blandy1992-04-241-6/+6
|
* *** empty log message ***Jim Blandy1992-01-131-10/+31
|
* Initial revisionMike Rowan1990-09-271-0/+558