Rounds a number to the nearest integer using bitwise operations.
This function uses a bitwise OR trick for potentially faster rounding.
Note: This implementation rounds half up for positive numbers but may
behave differently for negative numbers compared to Math.round.
Rounds a number to the nearest integer using bitwise operations.
This function uses a bitwise OR trick for potentially faster rounding. Note: This implementation rounds half up for positive numbers but may behave differently for negative numbers compared to Math.round.