[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-commit
Subject:    [Gmp-commit] /var/hg/gmp: Document 2fac.
From:       mercurial () gmplib ! org (mercurial at gmplib ! org)
Date:       2012-02-26 16:59:00
Message-ID: hg.30b10d30bb90.1330275540.4753027791226180404 () gmplib-02 ! nada ! kth ! se
[Download RAW message or body]

details:   /var/hg/gmp/rev/30b10d30bb90
changeset: 14684:30b10d30bb90
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Sun Feb 26 17:58:56 2012 +0100
description:
Document 2fac.

diffstat:

 ChangeLog    |  1 +
 doc/gmp.texi |  5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r f97048b1f08c -r 30b10d30bb90 ChangeLog
--- a/ChangeLog	Sun Feb 26 17:43:51 2012 +0100
+++ b/ChangeLog	Sun Feb 26 17:58:56 2012 +0100
@@ -4,6 +4,7 @@
 	* Makefile.am (MPZ_OBJECTS): Add mpz/2fac_ui.
 	* gmp-h.in: Declare mpz_2fac_ui.
 	* tests/mpz/t-fac.c: Test mpz_2fac_ui.
+	* doc/gmp.texi: Document mpz_2fac_ui.
 
 2012-02-26  Niels M?ller  <nisse at lysator.liu.se>
 
diff -r f97048b1f08c -r 30b10d30bb90 doc/gmp.texi
--- a/doc/gmp.texi	Sun Feb 26 17:43:51 2012 +0100
+++ b/doc/gmp.texi	Sun Feb 26 17:58:56 2012 +0100
@@ -3635,6 +3635,11 @@
 Set @var{rop} to @var{op}!, the factorial of @var{op}.
 @end deftypefun
 
+ at deftypefun void mpz_2fac_ui (mpz_t @var{rop}, unsigned long int @var{op})
+ at cindex Factorial functions
+Set @var{rop} to @var{op}!!, the double-factorial of @var{op}.
+ at end deftypefun
+
 @deftypefun void mpz_bin_ui (mpz_t @var{rop}, mpz_t @var{n}, unsigned long int \
@var{k})  @deftypefunx void mpz_bin_uiui (mpz_t @var{rop}, unsigned long int @var{n}, \
@w{unsigned long int @var{k}})  @cindex Binomial coefficient functions


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic