Project

General

Profile

« Previous | Next » 

Revision a461f2f8

Added by akr (Akira Tanaka) almost 11 years ago

  • ext/bigdecimal: Workaround fix for bigdecimal test failures caused
    by [ruby-dev:47413] [Feature #8509]

  • ext/bigdecimal/bigdecimal.h (BDIGIT): Make it independent from the
    definition for bignum.c.
    (SIZEOF_BDIGITS): Ditto.
    (BDIGIT_DBL): Ditto.
    (BDIGIT_DBL_SIGNED): Ditto.
    (PRI_BDIGIT_PREFIX): Undefine the definition.
    (PRI_BDIGIT_DBL_PREFIX): Ditto.

  • ext/bigdecimal/bigdecimal.c (RBIGNUM_ZERO_P): Use rb_bigzero_p.
    (bigzero_p): Removed.
    (is_even): Use rb_big_pack.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e