emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/floatfns.c


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] Changes to emacs/src/floatfns.c
Date: Sat, 06 Aug 2005 14:25:05 -0400

Index: emacs/src/floatfns.c
diff -c emacs/src/floatfns.c:1.84 emacs/src/floatfns.c:1.85
*** emacs/src/floatfns.c:1.84   Mon Jul  4 16:06:31 2005
--- emacs/src/floatfns.c        Sat Aug  6 18:25:05 2005
***************
*** 460,466 ****
    CHECK_NUMBER_OR_FLOAT (arg1);
    CHECK_NUMBER_OR_FLOAT (arg2);
    if (INTEGERP (arg1)     /* common lisp spec */
!       && INTEGERP (arg2)) /* don't promote, if both are ints */
      {                         /* this can be improved by pre-calculating */
        EMACS_INT acc, x, y;    /* some binary powers of x then accumulating */
        Lisp_Object val;
--- 460,467 ----
    CHECK_NUMBER_OR_FLOAT (arg1);
    CHECK_NUMBER_OR_FLOAT (arg2);
    if (INTEGERP (arg1)     /* common lisp spec */
!       && INTEGERP (arg2)   /* don't promote, if both are ints, and */
!       && 0 <= XINT (arg2)) /* we are not computing the -ARG2 root */
      {                         /* this can be improved by pre-calculating */
        EMACS_INT acc, x, y;    /* some binary powers of x then accumulating */
        Lisp_Object val;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]