diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 01:43:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 01:43:43 +0000 |
commit | 14373fc4db7440d39db4fd39297f2ed44cc990f2 (patch) | |
tree | 966d984fadcafb2d9046a161b1e170d99904a592 /ChangeLog | |
parent | b88ecbcffc30fdf8b5743003563e10a347c05b03 (diff) | |
download | ruby-14373fc4db7440d39db4fd39297f2ed44cc990f2.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Thu Feb 7 10:39:21 2008 Tanaka Akira <akr@fsij.org> + + * 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. + Thu Feb 7 09:05:57 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * ext/nkf/nkf-utf8/nkf.c (nkf_enc_from_index): BINARY does not |