diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/data.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 673ebc5a1ed..54e9908ece4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) | ||
| 2 | |||
| 3 | * data.c (Fquo): If any argument is float, do the computation in | ||
| 4 | floating point. | ||
| 5 | |||
| 1 | 2004-05-08 Juanma Barranquero <lektu@terra.es> | 6 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
| 2 | 7 | ||
| 3 | * editfns.c (Finsert_buffer_substring): Make argument names match their | 8 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
diff --git a/src/data.c b/src/data.c index 6ce9a5d37aa..1a66e52632a 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -2698,6 +2698,12 @@ usage: (/ DIVIDEND DIVISOR &rest DIVISORS) */) | |||
| 2698 | int nargs; | 2698 | int nargs; |
| 2699 | Lisp_Object *args; | 2699 | Lisp_Object *args; |
| 2700 | { | 2700 | { |
| 2701 | int argnum; | ||
| 2702 | if (nargs == 2) | ||
| 2703 | return arith_driver (Adiv, nargs, args); | ||
| 2704 | for (argnum = 0; argnum < nargs; argnum++) | ||
| 2705 | if (FLOATP (args[argnum])) | ||
| 2706 | return float_arith_driver (0, 0, Adiv, nargs, args); | ||
| 2701 | return arith_driver (Adiv, nargs, args); | 2707 | return arith_driver (Adiv, nargs, args); |
| 2702 | } | 2708 | } |
| 2703 | 2709 | ||