mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
ea6d662c6b
commit
037ceae571
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue