Skip to content

Commit 361d143

Browse files
committed
merge revision(s) 5e5cec1:
Fix bigand_int edgecase returning false (#13987)
1 parent 8333545 commit 361d143

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bignum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6333,7 +6333,7 @@ bigand_int(VALUE x, long xn, BDIGIT hibitsx, long y)
63336333
BDIGIT hibitsy;
63346334

63356335
if (y == 0) return INT2FIX(0);
6336-
if (xn == 0) return hibitsx ? LONG2NUM(y) : 0;
6336+
if (xn == 0) return hibitsx ? LONG2NUM(y) : INT2FIX(0);
63376337
hibitsy = 0 <= y ? 0 : BDIGMAX;
63386338
xds = BDIGITS(x);
63396339
#if SIZEOF_BDIGIT >= SIZEOF_LONG

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
1212
#define RUBY_VERSION_TEENY 8
1313
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
14-
#define RUBY_PATCHLEVEL 168
14+
#define RUBY_PATCHLEVEL 169
1515

1616
#include "ruby/version.h"
1717
#include "ruby/internal/abi.h"

0 commit comments

Comments
 (0)