Type | Bug | Status | tested | Date | 24-Mar-2010 19:51 |
---|---|---|---|---|---|
Version | alpha 97 | Category | Datatype | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | Complemented bitsets behave incorrectly upon extension |
---|---|
Description | Futher to #1355, negatively specified bitsets behave incorrectly upon extension. A normal bitset will grow when a bit beyond its length is set to true, but not when it is set to none. A complemented bitset should behave in the opposite way, but it does not. |
Example code |
>> b: charset " " == make bitset! #{0000000080} >> b/48: true ;; or poke b 48 true >> b == make bitset! #{00000000800080} >> b: complement charset " " == make bitset! [not bits #{0000000080}] >> b/48: none >> b == make bitset! [not bits #{0000000080}] ; wrong! should add a bit >> b/48: true >> b == make bitset! [not bits #{00000000800080}] ; should not have added a bit |
Assigned to | n/a | Fixed in | alpha 108 | Last Update | 20-Oct-2010 03:21 |
---|
Comments | |
---|---|
(0002117)
BrianH 25-Mar-2010 00:38 |
Changed the summary to include the keyword "complement". |
Date | User | Field | Action | Change |
---|---|---|---|---|
20-Oct-2010 03:21 | BrianH | Status | Modified | built => tested |
21-Sep-2010 19:20 | carl | Fixedin | Modified | => alpha 108 |
21-Sep-2010 19:20 | carl | Status | Modified | reviewed => built |
25-Mar-2010 00:38 | BrianH | Comment : 0002117 | Added | - |
25-Mar-2010 00:38 | BrianH | Summary | Modified | Negatively specified bitsets behave incorrectly upon extension => Complemented bitsets behave incorrectly upon extension |
25-Mar-2010 00:38 | BrianH | Code | Modified | - |
25-Mar-2010 00:38 | BrianH | Status | Modified | submitted => reviewed |
24-Mar-2010 19:51 | meijeru | Ticket | Added | - |