Commit Graph

1 Commits

Author SHA1 Message Date
Bob Nystrom
b36705d3f3 feat: add bitwise AND and OR operators for numbers with 32-bit unsigned semantics
Implement num_bitwiseAnd and num_bitwiseOr native methods that cast operands to uint32_t before applying bitwise operations, matching the existing bitwiseNot pattern. Register both operators on the number class and add test files covering basic cases, max u32 boundary, overflow behavior, and non-numeric operand error handling.
2014-02-24 15:27:43 +00:00