зеркало из https://github.com/github/ruby.git
* ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ea6d662c6b
Коммит
037ceae571
|
@ -1,3 +1,7 @@
|
|||
Sun Feb 16 07:48:20 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
|
||||
|
||||
Sun Feb 16 06:12:23 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.
|
||||
|
|
|
@ -86,10 +86,6 @@ static ID id_eq;
|
|||
#define DBLE_FIG (DBL_DIG+1) /* figure of double */
|
||||
#endif
|
||||
|
||||
#ifndef BIGNUM_ZERO_P
|
||||
# define BIGNUM_ZERO_P(x) rb_bigzero_p(x)
|
||||
#endif
|
||||
|
||||
#ifndef RRATIONAL_ZERO_P
|
||||
# define RRATIONAL_ZERO_P(x) (FIXNUM_P(RRATIONAL(x)->num) && \
|
||||
FIX2LONG(RRATIONAL(x)->num) == 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче