diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bignum.c | 1 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Sun Jul 15 04:42:20 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * bignum.c (get2comp): do nothing for empty Bignum. [ruby-dev:31225] + Sat Jul 14 22:49:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * numeric.c (fix_pow): integer power calculation: 0**n => 0, @@ -70,6 +70,7 @@ get2comp(VALUE x) BDIGIT *ds = BDIGITS(x); BDIGIT_DBL num; + if (!i) return; while (i--) ds[i] = ~ds[i]; i = 0; num = 1; do { @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-07-14" +#define RUBY_RELEASE_DATE "2007-07-15" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070714 +#define RUBY_RELEASE_CODE 20070715 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 14 +#define RUBY_RELEASE_DAY 15 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; |