small cleanup of contract
This commit is contained in:
parent
9b987800fb
commit
faa385b337
|
@ -787,7 +787,7 @@ but it is faster and runs in constant time when @racket[n] is positive.
|
||||||
@defproc[(bitwise-bit-field [n exact-integer?]
|
@defproc[(bitwise-bit-field [n exact-integer?]
|
||||||
[start exact-nonnegative-integer?]
|
[start exact-nonnegative-integer?]
|
||||||
[end (and/c exact-nonnegative-integer?
|
[end (and/c exact-nonnegative-integer?
|
||||||
(start . <= . end))])
|
(>=/c start))])
|
||||||
exact-integer?]{
|
exact-integer?]{
|
||||||
|
|
||||||
Extracts the bits between position @racket[start] and @racket[(- end 1)] (inclusive)
|
Extracts the bits between position @racket[start] and @racket[(- end 1)] (inclusive)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user