aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPavel Janík2001-11-13 07:48:37 +0000
committerPavel Janík2001-11-13 07:48:37 +0000
commit335c5470b52f0c9a387314a5323c4de57a137fb7 (patch)
tree5771279c83f1323d880106ec41ba95f85fdfafce /src/floatfns.c
parent31b85a14f99ee2761cb24a63032606919083eb03 (diff)
downloademacs-335c5470b52f0c9a387314a5323c4de57a137fb7.tar.gz
emacs-335c5470b52f0c9a387314a5323c4de57a137fb7.zip
Change doc-string comments to `new style' [w/`doc:' keyword].
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c174
1 files changed, 87 insertions, 87 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index 383e2af04bc..fe107fb44fc 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -228,8 +228,8 @@ extract_float (num)
228/* Trig functions. */ 228/* Trig functions. */
229 229
230DEFUN ("acos", Facos, Sacos, 1, 1, 0, 230DEFUN ("acos", Facos, Sacos, 1, 1, 0,
231 "Return the inverse cosine of ARG.") 231 doc: /* Return the inverse cosine of ARG. */)
232 (arg) 232 (arg)
233 register Lisp_Object arg; 233 register Lisp_Object arg;
234{ 234{
235 double d = extract_float (arg); 235 double d = extract_float (arg);
@@ -242,8 +242,8 @@ DEFUN ("acos", Facos, Sacos, 1, 1, 0,
242} 242}
243 243
244DEFUN ("asin", Fasin, Sasin, 1, 1, 0, 244DEFUN ("asin", Fasin, Sasin, 1, 1, 0,
245 "Return the inverse sine of ARG.") 245 doc: /* Return the inverse sine of ARG. */)
246 (arg) 246 (arg)
247 register Lisp_Object arg; 247 register Lisp_Object arg;
248{ 248{
249 double d = extract_float (arg); 249 double d = extract_float (arg);
@@ -256,8 +256,8 @@ DEFUN ("asin", Fasin, Sasin, 1, 1, 0,
256} 256}
257 257
258DEFUN ("atan", Fatan, Satan, 1, 1, 0, 258DEFUN ("atan", Fatan, Satan, 1, 1, 0,
259 "Return the inverse tangent of ARG.") 259 doc: /* Return the inverse tangent of ARG. */)
260 (arg) 260 (arg)
261 register Lisp_Object arg; 261 register Lisp_Object arg;
262{ 262{
263 double d = extract_float (arg); 263 double d = extract_float (arg);
@@ -266,8 +266,8 @@ DEFUN ("atan", Fatan, Satan, 1, 1, 0,
266} 266}
267 267
268DEFUN ("cos", Fcos, Scos, 1, 1, 0, 268DEFUN ("cos", Fcos, Scos, 1, 1, 0,
269 "Return the cosine of ARG.") 269 doc: /* Return the cosine of ARG. */)
270 (arg) 270 (arg)
271 register Lisp_Object arg; 271 register Lisp_Object arg;
272{ 272{
273 double d = extract_float (arg); 273 double d = extract_float (arg);
@@ -276,8 +276,8 @@ DEFUN ("cos", Fcos, Scos, 1, 1, 0,
276} 276}
277 277
278DEFUN ("sin", Fsin, Ssin, 1, 1, 0, 278DEFUN ("sin", Fsin, Ssin, 1, 1, 0,
279 "Return the sine of ARG.") 279 doc: /* Return the sine of ARG. */)
280 (arg) 280 (arg)
281 register Lisp_Object arg; 281 register Lisp_Object arg;
282{ 282{
283 double d = extract_float (arg); 283 double d = extract_float (arg);
@@ -286,8 +286,8 @@ DEFUN ("sin", Fsin, Ssin, 1, 1, 0,
286} 286}
287 287
288DEFUN ("tan", Ftan, Stan, 1, 1, 0, 288DEFUN ("tan", Ftan, Stan, 1, 1, 0,
289 "Return the tangent of ARG.") 289 doc: /* Return the tangent of ARG. */)
290 (arg) 290 (arg)
291 register Lisp_Object arg; 291 register Lisp_Object arg;
292{ 292{
293 double d = extract_float (arg); 293 double d = extract_float (arg);
@@ -303,8 +303,8 @@ DEFUN ("tan", Ftan, Stan, 1, 1, 0,
303#if 0 /* Leave these out unless we find there's a reason for them. */ 303#if 0 /* Leave these out unless we find there's a reason for them. */
304 304
305DEFUN ("bessel-j0", Fbessel_j0, Sbessel_j0, 1, 1, 0, 305DEFUN ("bessel-j0", Fbessel_j0, Sbessel_j0, 1, 1, 0,
306 "Return the bessel function j0 of ARG.") 306 doc: /* Return the bessel function j0 of ARG. */)
307 (arg) 307 (arg)
308 register Lisp_Object arg; 308 register Lisp_Object arg;
309{ 309{
310 double d = extract_float (arg); 310 double d = extract_float (arg);
@@ -313,8 +313,8 @@ DEFUN ("bessel-j0", Fbessel_j0, Sbessel_j0, 1, 1, 0,
313} 313}
314 314
315DEFUN ("bessel-j1", Fbessel_j1, Sbessel_j1, 1, 1, 0, 315DEFUN ("bessel-j1", Fbessel_j1, Sbessel_j1, 1, 1, 0,
316 "Return the bessel function j1 of ARG.") 316 doc: /* Return the bessel function j1 of ARG. */)
317 (arg) 317 (arg)
318 register Lisp_Object arg; 318 register Lisp_Object arg;
319{ 319{
320 double d = extract_float (arg); 320 double d = extract_float (arg);
@@ -323,9 +323,9 @@ DEFUN ("bessel-j1", Fbessel_j1, Sbessel_j1, 1, 1, 0,
323} 323}
324 324
325DEFUN ("bessel-jn", Fbessel_jn, Sbessel_jn, 2, 2, 0, 325DEFUN ("bessel-jn", Fbessel_jn, Sbessel_jn, 2, 2, 0,
326 "Return the order N bessel function output jn of ARG.\n\ 326 doc: /* Return the order N bessel function output jn of ARG.
327The first arg (the order) is truncated to an integer.") 327The first arg (the order) is truncated to an integer. */)
328 (n, arg) 328 (n, arg)
329 register Lisp_Object n, arg; 329 register Lisp_Object n, arg;
330{ 330{
331 int i1 = extract_float (n); 331 int i1 = extract_float (n);
@@ -336,8 +336,8 @@ The first arg (the order) is truncated to an integer.")
336} 336}
337 337
338DEFUN ("bessel-y0", Fbessel_y0, Sbessel_y0, 1, 1, 0, 338DEFUN ("bessel-y0", Fbessel_y0, Sbessel_y0, 1, 1, 0,
339 "Return the bessel function y0 of ARG.") 339 doc: /* Return the bessel function y0 of ARG. */)
340 (arg) 340 (arg)
341 register Lisp_Object arg; 341 register Lisp_Object arg;
342{ 342{
343 double d = extract_float (arg); 343 double d = extract_float (arg);
@@ -346,8 +346,8 @@ DEFUN ("bessel-y0", Fbessel_y0, Sbessel_y0, 1, 1, 0,
346} 346}
347 347
348DEFUN ("bessel-y1", Fbessel_y1, Sbessel_y1, 1, 1, 0, 348DEFUN ("bessel-y1", Fbessel_y1, Sbessel_y1, 1, 1, 0,
349 "Return the bessel function y1 of ARG.") 349 doc: /* Return the bessel function y1 of ARG. */)
350 (arg) 350 (arg)
351 register Lisp_Object arg; 351 register Lisp_Object arg;
352{ 352{
353 double d = extract_float (arg); 353 double d = extract_float (arg);
@@ -356,9 +356,9 @@ DEFUN ("bessel-y1", Fbessel_y1, Sbessel_y1, 1, 1, 0,
356} 356}
357 357
358DEFUN ("bessel-yn", Fbessel_yn, Sbessel_yn, 2, 2, 0, 358DEFUN ("bessel-yn", Fbessel_yn, Sbessel_yn, 2, 2, 0,
359 "Return the order N bessel function output yn of ARG.\n\ 359 doc: /* Return the order N bessel function output yn of ARG.
360The first arg (the order) is truncated to an integer.") 360The first arg (the order) is truncated to an integer. */)
361 (n, arg) 361 (n, arg)
362 register Lisp_Object n, arg; 362 register Lisp_Object n, arg;
363{ 363{
364 int i1 = extract_float (n); 364 int i1 = extract_float (n);
@@ -373,8 +373,8 @@ The first arg (the order) is truncated to an integer.")
373#if 0 /* Leave these out unless we see they are worth having. */ 373#if 0 /* Leave these out unless we see they are worth having. */
374 374
375DEFUN ("erf", Ferf, Serf, 1, 1, 0, 375DEFUN ("erf", Ferf, Serf, 1, 1, 0,
376 "Return the mathematical error function of ARG.") 376 doc: /* Return the mathematical error function of ARG. */)
377 (arg) 377 (arg)
378 register Lisp_Object arg; 378 register Lisp_Object arg;
379{ 379{
380 double d = extract_float (arg); 380 double d = extract_float (arg);
@@ -383,8 +383,8 @@ DEFUN ("erf", Ferf, Serf, 1, 1, 0,
383} 383}
384 384
385DEFUN ("erfc", Ferfc, Serfc, 1, 1, 0, 385DEFUN ("erfc", Ferfc, Serfc, 1, 1, 0,
386 "Return the complementary error function of ARG.") 386 doc: /* Return the complementary error function of ARG. */)
387 (arg) 387 (arg)
388 register Lisp_Object arg; 388 register Lisp_Object arg;
389{ 389{
390 double d = extract_float (arg); 390 double d = extract_float (arg);
@@ -393,8 +393,8 @@ DEFUN ("erfc", Ferfc, Serfc, 1, 1, 0,
393} 393}
394 394
395DEFUN ("log-gamma", Flog_gamma, Slog_gamma, 1, 1, 0, 395DEFUN ("log-gamma", Flog_gamma, Slog_gamma, 1, 1, 0,
396 "Return the log gamma of ARG.") 396 doc: /* Return the log gamma of ARG. */)
397 (arg) 397 (arg)
398 register Lisp_Object arg; 398 register Lisp_Object arg;
399{ 399{
400 double d = extract_float (arg); 400 double d = extract_float (arg);
@@ -403,8 +403,8 @@ DEFUN ("log-gamma", Flog_gamma, Slog_gamma, 1, 1, 0,
403} 403}
404 404
405DEFUN ("cube-root", Fcube_root, Scube_root, 1, 1, 0, 405DEFUN ("cube-root", Fcube_root, Scube_root, 1, 1, 0,
406 "Return the cube root of ARG.") 406 doc: /* Return the cube root of ARG. */)
407 (arg) 407 (arg)
408 register Lisp_Object arg; 408 register Lisp_Object arg;
409{ 409{
410 double d = extract_float (arg); 410 double d = extract_float (arg);
@@ -422,8 +422,8 @@ DEFUN ("cube-root", Fcube_root, Scube_root, 1, 1, 0,
422#endif 422#endif
423 423
424DEFUN ("exp", Fexp, Sexp, 1, 1, 0, 424DEFUN ("exp", Fexp, Sexp, 1, 1, 0,
425 "Return the exponential base e of ARG.") 425 doc: /* Return the exponential base e of ARG. */)
426 (arg) 426 (arg)
427 register Lisp_Object arg; 427 register Lisp_Object arg;
428{ 428{
429 double d = extract_float (arg); 429 double d = extract_float (arg);
@@ -439,8 +439,8 @@ DEFUN ("exp", Fexp, Sexp, 1, 1, 0,
439} 439}
440 440
441DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0, 441DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0,
442 "Return the exponential ARG1 ** ARG2.") 442 doc: /* Return the exponential ARG1 ** ARG2. */)
443 (arg1, arg2) 443 (arg1, arg2)
444 register Lisp_Object arg1, arg2; 444 register Lisp_Object arg1, arg2;
445{ 445{
446 double f1, f2; 446 double f1, f2;
@@ -493,9 +493,9 @@ DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0,
493} 493}
494 494
495DEFUN ("log", Flog, Slog, 1, 2, 0, 495DEFUN ("log", Flog, Slog, 1, 2, 0,
496 "Return the natural logarithm of ARG.\n\ 496 doc: /* Return the natural logarithm of ARG.
497If second optional argument BASE is given, return log ARG using that base.") 497If second optional argument BASE is given, return log ARG using that base. */)
498 (arg, base) 498 (arg, base)
499 register Lisp_Object arg, base; 499 register Lisp_Object arg, base;
500{ 500{
501 double d = extract_float (arg); 501 double d = extract_float (arg);
@@ -523,8 +523,8 @@ If second optional argument BASE is given, return log ARG using that base.")
523} 523}
524 524
525DEFUN ("log10", Flog10, Slog10, 1, 1, 0, 525DEFUN ("log10", Flog10, Slog10, 1, 1, 0,
526 "Return the logarithm base 10 of ARG.") 526 doc: /* Return the logarithm base 10 of ARG. */)
527 (arg) 527 (arg)
528 register Lisp_Object arg; 528 register Lisp_Object arg;
529{ 529{
530 double d = extract_float (arg); 530 double d = extract_float (arg);
@@ -537,8 +537,8 @@ DEFUN ("log10", Flog10, Slog10, 1, 1, 0,
537} 537}
538 538
539DEFUN ("sqrt", Fsqrt, Ssqrt, 1, 1, 0, 539DEFUN ("sqrt", Fsqrt, Ssqrt, 1, 1, 0,
540 "Return the square root of ARG.") 540 doc: /* Return the square root of ARG. */)
541 (arg) 541 (arg)
542 register Lisp_Object arg; 542 register Lisp_Object arg;
543{ 543{
544 double d = extract_float (arg); 544 double d = extract_float (arg);
@@ -553,8 +553,8 @@ DEFUN ("sqrt", Fsqrt, Ssqrt, 1, 1, 0,
553#if 0 /* Not clearly worth adding. */ 553#if 0 /* Not clearly worth adding. */
554 554
555DEFUN ("acosh", Facosh, Sacosh, 1, 1, 0, 555DEFUN ("acosh", Facosh, Sacosh, 1, 1, 0,
556 "Return the inverse hyperbolic cosine of ARG.") 556 doc: /* Return the inverse hyperbolic cosine of ARG. */)
557 (arg) 557 (arg)
558 register Lisp_Object arg; 558 register Lisp_Object arg;
559{ 559{
560 double d = extract_float (arg); 560 double d = extract_float (arg);
@@ -571,8 +571,8 @@ DEFUN ("acosh", Facosh, Sacosh, 1, 1, 0,
571} 571}
572 572
573DEFUN ("asinh", Fasinh, Sasinh, 1, 1, 0, 573DEFUN ("asinh", Fasinh, Sasinh, 1, 1, 0,
574 "Return the inverse hyperbolic sine of ARG.") 574 doc: /* Return the inverse hyperbolic sine of ARG. */)
575 (arg) 575 (arg)
576 register Lisp_Object arg; 576 register Lisp_Object arg;
577{ 577{
578 double d = extract_float (arg); 578 double d = extract_float (arg);
@@ -585,8 +585,8 @@ DEFUN ("asinh", Fasinh, Sasinh, 1, 1, 0,
585} 585}
586 586
587DEFUN ("atanh", Fatanh, Satanh, 1, 1, 0, 587DEFUN ("atanh", Fatanh, Satanh, 1, 1, 0,
588 "Return the inverse hyperbolic tangent of ARG.") 588 doc: /* Return the inverse hyperbolic tangent of ARG. */)
589 (arg) 589 (arg)
590 register Lisp_Object arg; 590 register Lisp_Object arg;
591{ 591{
592 double d = extract_float (arg); 592 double d = extract_float (arg);
@@ -603,8 +603,8 @@ DEFUN ("atanh", Fatanh, Satanh, 1, 1, 0,
603} 603}
604 604
605DEFUN ("cosh", Fcosh, Scosh, 1, 1, 0, 605DEFUN ("cosh", Fcosh, Scosh, 1, 1, 0,
606 "Return the hyperbolic cosine of ARG.") 606 doc: /* Return the hyperbolic cosine of ARG. */)
607 (arg) 607 (arg)
608 register Lisp_Object arg; 608 register Lisp_Object arg;
609{ 609{
610 double d = extract_float (arg); 610 double d = extract_float (arg);
@@ -617,8 +617,8 @@ DEFUN ("cosh", Fcosh, Scosh, 1, 1, 0,
617} 617}
618 618
619DEFUN ("sinh", Fsinh, Ssinh, 1, 1, 0, 619DEFUN ("sinh", Fsinh, Ssinh, 1, 1, 0,
620 "Return the hyperbolic sine of ARG.") 620 doc: /* Return the hyperbolic sine of ARG. */)
621 (arg) 621 (arg)
622 register Lisp_Object arg; 622 register Lisp_Object arg;
623{ 623{
624 double d = extract_float (arg); 624 double d = extract_float (arg);
@@ -631,8 +631,8 @@ DEFUN ("sinh", Fsinh, Ssinh, 1, 1, 0,
631} 631}
632 632
633DEFUN ("tanh", Ftanh, Stanh, 1, 1, 0, 633DEFUN ("tanh", Ftanh, Stanh, 1, 1, 0,
634 "Return the hyperbolic tangent of ARG.") 634 doc: /* Return the hyperbolic tangent of ARG. */)
635 (arg) 635 (arg)
636 register Lisp_Object arg; 636 register Lisp_Object arg;
637{ 637{
638 double d = extract_float (arg); 638 double d = extract_float (arg);
@@ -642,8 +642,8 @@ DEFUN ("tanh", Ftanh, Stanh, 1, 1, 0,
642#endif 642#endif
643 643
644DEFUN ("abs", Fabs, Sabs, 1, 1, 0, 644DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
645 "Return the absolute value of ARG.") 645 doc: /* Return the absolute value of ARG. */)
646 (arg) 646 (arg)
647 register Lisp_Object arg; 647 register Lisp_Object arg;
648{ 648{
649 CHECK_NUMBER_OR_FLOAT (arg); 649 CHECK_NUMBER_OR_FLOAT (arg);
@@ -657,8 +657,8 @@ DEFUN ("abs", Fabs, Sabs, 1, 1, 0,
657} 657}
658 658
659DEFUN ("float", Ffloat, Sfloat, 1, 1, 0, 659DEFUN ("float", Ffloat, Sfloat, 1, 1, 0,
660 "Return the floating point number equal to ARG.") 660 doc: /* Return the floating point number equal to ARG. */)
661 (arg) 661 (arg)
662 register Lisp_Object arg; 662 register Lisp_Object arg;
663{ 663{
664 CHECK_NUMBER_OR_FLOAT (arg); 664 CHECK_NUMBER_OR_FLOAT (arg);
@@ -670,8 +670,8 @@ DEFUN ("float", Ffloat, Sfloat, 1, 1, 0,
670} 670}
671 671
672DEFUN ("logb", Flogb, Slogb, 1, 1, 0, 672DEFUN ("logb", Flogb, Slogb, 1, 1, 0,
673 "Returns largest integer <= the base 2 log of the magnitude of ARG.\n\ 673 doc: /* Returns largest integer <= the base 2 log of the magnitude of ARG.
674This is the same as the exponent of a float.") 674This is the same as the exponent of a float. */)
675 (arg) 675 (arg)
676 Lisp_Object arg; 676 Lisp_Object arg;
677{ 677{
@@ -838,37 +838,37 @@ double_identity (d)
838} 838}
839 839
840DEFUN ("ceiling", Fceiling, Sceiling, 1, 2, 0, 840DEFUN ("ceiling", Fceiling, Sceiling, 1, 2, 0,
841 "Return the smallest integer no less than ARG. (Round toward +inf.)\n\ 841 doc: /* Return the smallest integer no less than ARG. (Round toward +inf.)
842With optional DIVISOR, return the smallest integer no less than ARG/DIVISOR.") 842With optional DIVISOR, return the smallest integer no less than ARG/DIVISOR. */)
843 (arg, divisor) 843 (arg, divisor)
844 Lisp_Object arg, divisor; 844 Lisp_Object arg, divisor;
845{ 845{
846 return rounding_driver (arg, divisor, ceil, ceiling2, "ceiling"); 846 return rounding_driver (arg, divisor, ceil, ceiling2, "ceiling");
847} 847}
848 848
849DEFUN ("floor", Ffloor, Sfloor, 1, 2, 0, 849DEFUN ("floor", Ffloor, Sfloor, 1, 2, 0,
850 "Return the largest integer no greater than ARG. (Round towards -inf.)\n\ 850 doc: /* Return the largest integer no greater than ARG. (Round towards -inf.)
851With optional DIVISOR, return the largest integer no greater than ARG/DIVISOR.") 851With optional DIVISOR, return the largest integer no greater than ARG/DIVISOR. */)
852 (arg, divisor) 852 (arg, divisor)
853 Lisp_Object arg, divisor; 853 Lisp_Object arg, divisor;
854{ 854{
855 return rounding_driver (arg, divisor, floor, floor2, "floor"); 855 return rounding_driver (arg, divisor, floor, floor2, "floor");
856} 856}
857 857
858DEFUN ("round", Fround, Sround, 1, 2, 0, 858DEFUN ("round", Fround, Sround, 1, 2, 0,
859 "Return the nearest integer to ARG.\n\ 859 doc: /* Return the nearest integer to ARG.
860With optional DIVISOR, return the nearest integer to ARG/DIVISOR.") 860With optional DIVISOR, return the nearest integer to ARG/DIVISOR. */)
861 (arg, divisor) 861 (arg, divisor)
862 Lisp_Object arg, divisor; 862 Lisp_Object arg, divisor;
863{ 863{
864 return rounding_driver (arg, divisor, emacs_rint, round2, "round"); 864 return rounding_driver (arg, divisor, emacs_rint, round2, "round");
865} 865}
866 866
867DEFUN ("truncate", Ftruncate, Struncate, 1, 2, 0, 867DEFUN ("truncate", Ftruncate, Struncate, 1, 2, 0,
868 "Truncate a floating point number to an int.\n\ 868 doc: /* Truncate a floating point number to an int.
869Rounds ARG toward zero.\n\ 869Rounds ARG toward zero.
870With optional DIVISOR, truncate ARG/DIVISOR.") 870With optional DIVISOR, truncate ARG/DIVISOR. */)
871 (arg, divisor) 871 (arg, divisor)
872 Lisp_Object arg, divisor; 872 Lisp_Object arg, divisor;
873{ 873{
874 return rounding_driver (arg, divisor, double_identity, truncate2, 874 return rounding_driver (arg, divisor, double_identity, truncate2,
@@ -898,9 +898,9 @@ fmod_float (x, y)
898/* It's not clear these are worth adding. */ 898/* It's not clear these are worth adding. */
899 899
900DEFUN ("fceiling", Ffceiling, Sfceiling, 1, 1, 0, 900DEFUN ("fceiling", Ffceiling, Sfceiling, 1, 1, 0,
901 "Return the smallest integer no less than ARG, as a float.\n\ 901 doc: /* Return the smallest integer no less than ARG, as a float.
902\(Round toward +inf.\)") 902\(Round toward +inf.\) */)
903 (arg) 903 (arg)
904 register Lisp_Object arg; 904 register Lisp_Object arg;
905{ 905{
906 double d = extract_float (arg); 906 double d = extract_float (arg);
@@ -909,9 +909,9 @@ DEFUN ("fceiling", Ffceiling, Sfceiling, 1, 1, 0,
909} 909}
910 910
911DEFUN ("ffloor", Fffloor, Sffloor, 1, 1, 0, 911DEFUN ("ffloor", Fffloor, Sffloor, 1, 1, 0,
912 "Return the largest integer no greater than ARG, as a float.\n\ 912 doc: /* Return the largest integer no greater than ARG, as a float.
913\(Round towards -inf.\)") 913\(Round towards -inf.\) */)
914 (arg) 914 (arg)
915 register Lisp_Object arg; 915 register Lisp_Object arg;
916{ 916{
917 double d = extract_float (arg); 917 double d = extract_float (arg);
@@ -920,8 +920,8 @@ DEFUN ("ffloor", Fffloor, Sffloor, 1, 1, 0,
920} 920}
921 921
922DEFUN ("fround", Ffround, Sfround, 1, 1, 0, 922DEFUN ("fround", Ffround, Sfround, 1, 1, 0,
923 "Return the nearest integer to ARG, as a float.") 923 doc: /* Return the nearest integer to ARG, as a float. */)
924 (arg) 924 (arg)
925 register Lisp_Object arg; 925 register Lisp_Object arg;
926{ 926{
927 double d = extract_float (arg); 927 double d = extract_float (arg);
@@ -930,9 +930,9 @@ DEFUN ("fround", Ffround, Sfround, 1, 1, 0,
930} 930}
931 931
932DEFUN ("ftruncate", Fftruncate, Sftruncate, 1, 1, 0, 932DEFUN ("ftruncate", Fftruncate, Sftruncate, 1, 1, 0,
933 "Truncate a floating point number to an integral float value.\n\ 933 doc: /* Truncate a floating point number to an integral float value.
934Rounds the value toward zero.") 934Rounds the value toward zero. */)
935 (arg) 935 (arg)
936 register Lisp_Object arg; 936 register Lisp_Object arg;
937{ 937{
938 double d = extract_float (arg); 938 double d = extract_float (arg);