mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
merge revision(s) 5e5cec1b86
:
Fix bigand_int edgecase returning false (#13987)
This commit is contained in:
parent
83335453c2
commit
361d14319b
2 changed files with 2 additions and 2 deletions
2
bignum.c
2
bignum.c
|
@ -6333,7 +6333,7 @@ bigand_int(VALUE x, long xn, BDIGIT hibitsx, long y)
|
|||
BDIGIT hibitsy;
|
||||
|
||||
if (y == 0) return INT2FIX(0);
|
||||
if (xn == 0) return hibitsx ? LONG2NUM(y) : 0;
|
||||
if (xn == 0) return hibitsx ? LONG2NUM(y) : INT2FIX(0);
|
||||
hibitsy = 0 <= y ? 0 : BDIGMAX;
|
||||
xds = BDIGITS(x);
|
||||
#if SIZEOF_BDIGIT >= SIZEOF_LONG
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 8
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 168
|
||||
#define RUBY_PATCHLEVEL 169
|
||||
|
||||
#include "ruby/version.h"
|
||||
#include "ruby/internal/abi.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue