Project

General

Profile

« Previous | Next » 

Revision 41502

  • 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.