mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* missing/tgamma.c (tgamma): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b892e3dd1b
commit
ac6fd9384d
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 3 01:01:57 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* missing/tgamma.c (tgamma): remove unused variable.
|
||||||
|
|
||||||
Thu Jul 3 00:18:00 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
Thu Jul 3 00:18:00 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||||
|
|
||||||
* ext/win32ole/win32ole.c: avoid creating Ruby object during
|
* ext/win32ole/win32ole.c: avoid creating Ruby object during
|
||||||
|
|
|
@ -24,7 +24,6 @@ double tgamma(double x)
|
||||||
return 1/x < 0 ? -HUGE_VAL : HUGE_VAL;
|
return 1/x < 0 ? -HUGE_VAL : HUGE_VAL;
|
||||||
}
|
}
|
||||||
if (x < 0) {
|
if (x < 0) {
|
||||||
int sign;
|
|
||||||
static double zero = 0.0;
|
static double zero = 0.0;
|
||||||
double i, f;
|
double i, f;
|
||||||
f = modf(-x, &i);
|
f = modf(-x, &i);
|
||||||
|
|
Loading…
Reference in a new issue