summaryrefslogtreecommitdiff
path: root/src/floatfns.c
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (Fbessel_jn, Fbessel_yn): Harmonize arguments with documentation.Erik Naggum1996-01-091-10/+10
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* Fexpt): Doc fix.Richard M. Stallman1995-11-101-1/+1
|
* (BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):Karl Heuer1995-10-311-7/+0
| | | | Rename from SHORTBITS, INTBITS, LONGBITS.
* (Fexpt): Use EMACS_INT for integer calculation.Karl Heuer1995-07-171-2/+2
| | | | (Ffloor): Likewise.
* (Flogb): frexp needs a pointer to int, not EMACS_INT.Karl Heuer1995-05-201-2/+3
|
* (Flogb): Use EMACS_INT for `value'.Richard M. Stallman1995-04-071-1/+1
|
* (Fabs): Don't use XFASTINT when negative.Karl Heuer1994-10-061-1/+1
|
* (FLOAT_TO_INT, FLOAT_TO_INT2, Fexpt, Flogb, Ffloor): Use new accessor macrosKarl Heuer1994-10-041-5/+5
| | | | instead of calling XSET directly.
* (extract_float, Fexpt, Fabs, Ffloat, Fceiling, Ffloor, Fround, Ftruncate): UseKarl Heuer1994-09-271-15/+14
| | | | type test macros.
* (FLOAT_TO_INT, FLOAT_TO_INT2): Use EMACS_INT.Richard M. Stallman1994-09-171-4/+6
|
* Don't declare logb if it is a macro.Richard M. Stallman1994-05-111-2/+2
|
* Don't guard DOMAIN && SING && OVERFLOW check by an #ifndef MSDOS.Richard M. Stallman1994-05-061-2/+0
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* [MSDOS]: Re-enable some #undef's.Karl Heuer1994-04-291-4/+1
|
* (logb): Test HPUX, not hpux.Richard M. Stallman1994-04-281-2/+2
|
* (FLOAT_TO_INT, FLOAT_TO_INT2, range_error2): New macros.Karl Heuer1994-03-161-8/+50
| | | | (ceiling, floor, round, truncate): Use them.
* (Flogb): Check for 0.0. Emulate logb if needed.Karl Heuer1994-03-151-11/+28
|
* (Fexpt): Delete extraneous `for' statement.Karl Heuer1994-03-121-1/+0
|
* (Fffloor, Ffceil, Ffround, Fftruncate): New functions.Richard M. Stallman1994-01-151-4/+2
| | | | (syms_of_floatfns): Turn them on.
* [MSDOS]: Don't define HAVE_MATHERR.Richard M. Stallman1994-01-081-1/+13
|
* Declare `logb' only if HAVE_LOGB is defined.Brian Fox1993-10-251-3/+3
|
* [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.Richard M. Stallman1993-10-091-0/+10
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (Flogb): Error at run time if not supported.Richard M. Stallman1993-08-131-1/+2
|
* (Flogb): Doc fix.Richard M. Stallman1993-08-121-1/+1
|
* (Fexpt): Use IN_FLOAT2.Richard M. Stallman1993-08-101-3/+3
|
* (Ffloor): Optional second operand specifies divisor, as in Common Lisp.Paul Eggert1993-08-101-15/+61
| | | | | (syms_of_floatfns): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE isn't defined, since `(floor A B)' is now needed for integers.
* * config.h.in (HAVE_LOGB, HAVE_FREXP): Add #undefs for theJim Blandy1993-08-091-3/+7
| | | | | | configuration script to edit. * floatfns.c (Flogb): Use HAVE_LOGB and HAVE_FREXP, instead of assuming that all USG systems have FREXP.
* (Fexpt): New local `val' for making integer to return.Richard M. Stallman1993-06-121-3/+4
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-2/+2
|
* (Fceiling): Fix spelling of "ceiling".Richard M. Stallman1993-06-071-1/+1
|
* [!FLOAT_CHECK_ERRNO] (IN_FLOAT): New definition.Richard M. Stallman1993-06-011-1/+2
| | | | (Flog): Fix argument of `log'.
* (logb): Don't declare if hpux.Richard M. Stallman1993-05-251-0/+2
|
* Fix typo in last change.Richard M. Stallman1993-05-241-1/+1
|
* [NO_MATHERR]: Undef HAVE_MATHERR.Richard M. Stallman1993-05-241-0/+4
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * 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
|