Menu

#89 Small integers don't have all the operators

open
3
2005-06-01
2005-06-01
No

? 3 & 5
# problem: <NoSuchMethodException: <an Integer>.and/1>

? 333333333333333333 & 5555555555555555
# value: 66685828665409

Followups 2004-Oct-02 17:18 markm

The specific problem encountered -- lack of support for
the "&" opertor has been fixed as of the upcoming
0.8.31d release of E:

? 3 & 5
# value: 1

However, I'm leaving this bug open until I
systematically check if the operators on small integers
are identical to those on bit integers.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB