aboutsummaryrefslogtreecommitdiffstats
path: root/missing/tgamma.c
Commit message (Collapse)AuthorAgeFilesLines
* Use C99-defined macros to classify a floating-point numberNobuyoshi Nakada2021-08-271-15/+0
|
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-1/+1
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-1/+1
| | | | This shall fix compile errors.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-1/+1
| | | Split ruby.h
* fix tgamma for inifitynobu2017-05-121-0/+21
| | | | | | | | | | * configure.in: do not use buggy tgamma() of mingw. * missing/tgamma.c (tgamma): merge fix for inifity from ruby_tgamma. since msvcr120.dll and later have tgamma, this implementation will not be used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tgamma.c: unify versions with/without lgamma_rnobu2017-05-121-26/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): remove unused variable.mame2008-07-021-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tgamma and lgamma_r is not a error function.akr2008-06-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]mame2008-03-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): use lgamma_r if available.akr2008-02-091-1/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): add error check.akr2008-02-091-2/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_gamma): new method Math.gamma.akr2008-02-071-0/+49
(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