From 18142f73434def2fb865a6dd897501c9cfc28293 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 7 Feb 2008 01:43:43 +0000 Subject: * math.c (math_gamma): new method Math.gamma. (math_lgamma): new method Math.lgamma. * include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA. (lgamma_r): declared unless HAVE_LGAMMA_R. * configure.in (tgamma): check for replacement funtions. (lgamma_r): ditto. * missing/tgamma.c: new file. based on gamma.c from "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook in C language) (Gijyutsu hyouron sha, Tokyo, 1991) by Haruhiko Okumura. * missing/lgamma_r.c: ditto. * LEGAL (missing/tgamma.c): describe as public domain. (missing/lgamma_r.c): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- LEGAL | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LEGAL') diff --git a/LEGAL b/LEGAL index b12bf66bf..51dfb22de 100644 --- a/LEGAL +++ b/LEGAL @@ -158,6 +158,8 @@ ext/digest/sha1/sha1.[ch]: These files are all under public domain. missing/erf.c: +missing/tgamma.c: +missing/lgamma_r.c: missing/crypt.c: missing/vsnprintf.c: -- cgit