Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jul 23, 2025

No actual problem, but I encountered this

x = bignew(len, 1);
MEMCPY(x, z, BDIGIT, len); // copy zero
return rb_big_and(x, y); //=> false

@tompng tompng merged commit 5e5cec1 into ruby:master Jul 23, 2025
93 of 95 checks passed
@tompng tompng deleted the bigand_int_edgecase_fix branch July 23, 2025 17:12
matzbot pushed a commit that referenced this pull request Jul 24, 2025
	Fix bigand_int edgecase returning false (#13987)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant