not flip the values in the range [firstOfRange,endx)
(firstOfRange, endx int)
| 2077 | |
| 2078 | // not flip the values in the range [firstOfRange,endx) |
| 2079 | func (rc *runContainer16) not(firstOfRange, endx int) container { |
| 2080 | if firstOfRange > endx { |
| 2081 | panic(fmt.Sprintf("invalid %v = endx > firstOfRange = %v", endx, firstOfRange)) |
| 2082 | } |
| 2083 | |
| 2084 | return rc.Not(firstOfRange, endx) |
| 2085 | } |
| 2086 | |
| 2087 | // Not flips the values in the range [firstOfRange,endx). |
| 2088 | // This is not inplace. Only the returned value has the flipped bits. |