aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Naggum1996-01-09 00:32:16 +0000
committerErik Naggum1996-01-09 00:32:16 +0000
commit3e67070281acdd8a1e37af7d40806003d8e8e508 (patch)
tree846f38f74b5a226a0626f162a0db0ad92c48e3c8
parente9319ef2ca56dec5a5a0ccbc406ab8dbb3b5e666 (diff)
downloademacs-3e67070281acdd8a1e37af7d40806003d8e8e508.tar.gz
emacs-3e67070281acdd8a1e37af7d40806003d8e8e508.zip
(Fbessel_jn, Fbessel_yn): Harmonize arguments with documentation.
-rw-r--r--src/floatfns.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index f26e6945bf0..f9da0c4af33 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -315,13 +315,13 @@ DEFUN ("bessel-j1", Fbessel_j1, Sbessel_j1, 1, 1, 0,
315DEFUN ("bessel-jn", Fbessel_jn, Sbessel_jn, 2, 2, 0, 315DEFUN ("bessel-jn", Fbessel_jn, Sbessel_jn, 2, 2, 0,
316 "Return the order N bessel function output jn of ARG.\n\ 316 "Return the order N bessel function output jn of ARG.\n\
317The first arg (the order) is truncated to an integer.") 317The first arg (the order) is truncated to an integer.")
318 (arg1, arg2) 318 (n, arg)
319 register Lisp_Object arg1, arg2; 319 register Lisp_Object n, arg;
320{ 320{
321 int i1 = extract_float (arg1); 321 int i1 = extract_float (n);
322 double f2 = extract_float (arg2); 322 double f2 = extract_float (arg);
323 323
324 IN_FLOAT (f2 = jn (i1, f2), "bessel-jn", arg1); 324 IN_FLOAT (f2 = jn (i1, f2), "bessel-jn", n);
325 return make_float (f2); 325 return make_float (f2);
326} 326}
327 327
@@ -348,13 +348,13 @@ DEFUN ("bessel-y1", Fbessel_y1, Sbessel_y1, 1, 1, 0,
348DEFUN ("bessel-yn", Fbessel_yn, Sbessel_yn, 2, 2, 0, 348DEFUN ("bessel-yn", Fbessel_yn, Sbessel_yn, 2, 2, 0,
349 "Return the order N bessel function output yn of ARG.\n\ 349 "Return the order N bessel function output yn of ARG.\n\
350The first arg (the order) is truncated to an integer.") 350The first arg (the order) is truncated to an integer.")
351 (arg1, arg2) 351 (n, arg)
352 register Lisp_Object arg1, arg2; 352 register Lisp_Object n, arg;
353{ 353{
354 int i1 = extract_float (arg1); 354 int i1 = extract_float (n);
355 double f2 = extract_float (arg2); 355 double f2 = extract_float (arg);
356 356
357 IN_FLOAT (f2 = yn (i1, f2), "bessel-yn", arg1); 357 IN_FLOAT (f2 = yn (i1, f2), "bessel-yn", n);
358 return make_float (f2); 358 return make_float (f2);
359} 359}
360 360