Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id u0DH6D2m019081 for ; Wed, 13 Jan 2016 18:06:14 +0100 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx110) with ESMTPS (Nemesis) id 0LmO90-1ZjVoy3mWQ-00Zt7u for ; Wed, 13 Jan 2016 18:06:07 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id u0DH3Sup027614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jan 2016 18:03:28 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id u0DEOAEx018513; Wed, 13 Jan 2016 18:03:28 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 13042991 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 13 Jan 2016 18:03:25 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id u0DGrPZh005923 for ; Wed, 13 Jan 2016 17:53:25 +0100 Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.160]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id u0DGrKIp019664 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Wed, 13 Jan 2016 17:53:22 +0100 X-RZG-AUTH: :O2kGeEG7b/pS1EW8RW26hAzXBdDfqeTRilE1lucDZWAnd0xj6FnfodgAF8HAxme884i7 X-RZG-CLASS-ID: mo00 Received: from mail-ig0-f178.google.com ([209.85.213.178]) by smtp.strato.de (RZmta 37.15 AUTH) with ESMTPSA id k05778s0DGrKr5o (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Wed, 13 Jan 2016 17:53:20 +0100 (CET) Received: by mail-ig0-f178.google.com with SMTP id z14so172495076igp.0 for ; Wed, 13 Jan 2016 08:53:20 -0800 (PST) X-Gm-Message-State: ALoCoQnx0JKcHz3Dq1+2UM55s2ho9E4q94NZber66TxEsQt9JxZapu3stv3WphZm+DH9M3leDGSdInZdDbTGTUca7zOaj3kdAg== MIME-Version: 1.0 X-Received: by 10.50.155.106 with SMTP id vv10mr22208019igb.41.1452703999670; Wed, 13 Jan 2016 08:53:19 -0800 (PST) Received: by 10.36.96.134 with HTTP; Wed, 13 Jan 2016 08:53:19 -0800 (PST) X-Gmail-Original-Message-ID: Content-Type: multipart/mixed; boundary=001a11346b48dd6a2a05293a01e1 Message-ID: Date: Wed, 13 Jan 2016 17:53:19 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Henri Menke Subject: Gamma function and factorial To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:PAi/C0VEK4g=:fxiXHHtSfKYUirYN8zx9D8ajkV uab5fAYDQccv1cZqhHyDuzgL5vTEQp1PYZun3u3lOLdEnkDzW5oMIhbOcPq44PjEYtKvMIi7M DBUiljRqTLx+n4Y8npRI7DJx+wY/8kcO4xowJJe13Y9vLvS8CVRC3YS7DBFx3BcK4eroWpqlm 0QqTnBxli+5p+fZQr1DBK9bMh8rXuVAXul4Gz5BWljjmaVbJSMXVuKdtbgM8nVsyGYAmnL3S+ pEuQ+19JYJPK+HZSvLlJW6VajylQso2TZCoQTpswKZ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lc54k69qVnheVUMualhTFn8ZzJmos/DUn23cs0mTDfo9XoO xkpHv6PRwaqislfiSHs4a36rAHEgz68sh3GLfpMpdW1XigXsAXGvONTcgeZjReh5Dsfafx+qI lHnsdliPld4sTYQvJEJcTfZhHlHENrutf28+iqgowoH32Za7AefiLLdUAcd4fB0y5+NB6pDyi VdPCjJcGNKa8yJNXiFAJ+7TT8ol6r6UopwKo5QuDnQheEYUD//5GnAOrVoSDO9E1dWV17Rc/t 7Dcagnv1EIo= X-UI-Loop:V01:VGT+ottyByk=:RUa8Spwg27Pc3h1bz6UE2gHobokRydGd4iQ6vipDUJ4= X-UI-Out-Filterresults: notjunk:1;V01:K0:RtPR4rpMGig=:aIYpARzPglIwNOaiGf1L7o efrx2/XQznyKPdS0m7zhMPxI8/x9S30kMmPoaoZgA/t/Jt2iY+DyJgxVha8AhYf3j9V8jdrXN JBcwj9z3AtCfKoLQU7MEtVg9eIVUHVEk/5hr4kqSXsjm+Jf7N4BIGyooY9eqKjFOIbHr5/zfP ToIprO3dvl1jQ/cwN0V+4f9/Q6uwloU6EFbUU0WS8xreNVmpuYDgiUssyhlBcuoBboB59+Dwq 02tq8pO47B3O/rq1z5ZcMv7A7/vMqkWnl0ItCVhxov8Em92OJv02iDXux8obJSS0AMqYPrZWm 5kmHsjY76RzFimfSHEHXVnTlBbS3DmwAbfmrBR6R1CZV/LlKLKXyI+0zp4dICvOztAKD9yEe1 oo+TAmEdX6RmqCIhXkkzBoswMc2mS2tUYlOJ/ykcatYlda6HQdMith0kKytCXJZX76mlyqpC9 nBR9BJ/juEwEUXdIMP0WWItJLC9HlZ9Yu1QKqccL0m5kUQwF2yFHa18VOynGPEozlkEHuvgy8 AZR1KIbhp8YBG5XZQ2plmY= X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7907 --001a11346b48dd6a2a05293a01e1 Content-Type: text/plain; charset=UTF-8 Dear list, I have implemented a preliminary version of \fp_factorial:n and \fp_gamma:n The current working precision of \fp_gamma:n is limited to 1e-11. So far, error checking for the argument of factorial is missing and I don't know how to integrate this into l3fp, especially making these available in \fp_eval:n as factorial(x) and gamma(x). If anyone would be so kind as to provide some guidance, I would be very grateful. Cheers, Henri --001a11346b48dd6a2a05293a01e1 Content-Type: application/x-tex; name="test.tex" Content-Disposition: attachment; filename="test.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ijd2ensy0 XGRvY3VtZW50Y2xhc3N7YXJ0aWNsZX0KXHVzZXBhY2thZ2V7ZXhwbDN9CgpcRXhwbFN5bnRheE9u CgpcY3NfbmV3Ok5wbiBcZnBfZmFjdG9yaWFsOm4gIzEKICUgY29tcHV0ZXMgIzEhCiB7CiAgJSBU T0RPOiBzaWduYWwgZXJyb3IgZm9yICMxIDwgMAogIFxmcF9jb21wYXJlOm5URiB7ICgjMSkgPT0g MCB9CiAgIHsgMSB9CiAgIHsgXGZwX2V2YWw6biB7ICgjMSkgKiBcZnBfZmFjdG9yaWFsOm4geyBc ZnBfZXZhbDpuIHsgKCMxKSAtIDEgfSB9IH0gfQogfQoKXGNzX25ldzpOcG4gXGZwX2dhbW1hOm4g IzEKICUgY29tcHV0ZXIgZ2FtbWEoIzEpCiB7CiAgXGZwX2NvbXBhcmU6blRGIHsgKCMxKSA8IDAu NSB9CiAgIHsgXF9fZnBfZ2FtbWFfcmVmbGVjdGlvbjpuIHsgXGZwX2V2YWw6biB7ICMxIH0gfSB9 CiAgIHsgXF9fZnBfZ2FtbWFfbGFuY3pvczpuIHsgXGZwX2V2YWw6biB7ICMxIC0gMSB9IH0gfQog fQoKXGNzX25ldzpOcG4gXF9fZnBfZ2FtbWFfcmVmbGVjdGlvbjpuICMxCiAlICMxID0geAogewog IFxmcF9ldmFsOm4KICAgewogICAgcGkgLyAoIHNpbiggcGkgKiAjMSApICogXGZwX2dhbW1hOm4g eyBcZnBfZXZhbDpuIHsgMSAtICMxIH0gfSApCiAgIH0KIH0KCiUgaHR0cHM6Ly9lbi53aW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