Changeset 38931 in project


Ignore:
Timestamp:
08/30/20 06:55:19 (4 weeks ago)
Author:
Kon Lovett
Message:

fix bitwise-mask argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/bitwise-utils

    r38930 r38931  
    5959
    6060; {{WID}} : {{fixnum}} ; mask bit width.
    61 ; {{ON?]}} : {{boolean}} ; {{#t}} is {{#b1}}, {{#f}} is {{#b0}}; default {{#t}}.
     61; {{ON?}} : {{boolean}} ; {{#t}} is {{#b1}}, {{#f}} is {{#b0}}; default {{#t}}.
    6262
    6363<enscript language=scheme>
     
    109109; {{N1}} : {{integer}}
    110110
    111 {{SRFI-60}} {{bitwise-if}}
     111Renamed {{SRFI-60}} {{bitwise-if}}.
    112112
    113113=== bitwise-nth?
     
    118118; {{N}} : {{fixnum}}
    119119
    120 {{SRFI-60}} {{bit-set?}}
     120Renamed {{SRFI-60}} {{bit-set?}}.
    121121
    122122=== bitwise-any?
     
    127127; {{N2}} : {{integer}}
    128128
    129 {{SRFI-60}} {{any-bits-set?}}
     129Renamed {{SRFI-60}} {{any-bits-set?}}.
    130130
    131131=== bitwise-first-set
     
    135135; {{N}} :integer
    136136
    137 {{SRFI-60}} {{first-set-bit}}
     137Renamed {{SRFI-60}} {{first-set-bit}}.
    138138
    139139=== bitwise-reverse
     
    146146=== bitwise-rotate
    147147
    148 <procedure>(bitwise-rotate TO INDEX LEN) --> integer</procedure>
    149 
    150 ; {{TO}} : {{integer}}
    151 ; {{INDEX}} : {{fixnum}}
     148<procedure>(bitwise-rotate K COUNT LEN) --> integer</procedure>
     149
     150Performs {{(bitwise-field-rotate K COUNT 0 LEN)}}.
     151
     152; {{K}} : {{integer}}
     153; {{COUNT}} : {{fixnum}}
    152154; {{LEN}} : {{fixnum}}
    153155
     
    160162; {{ON?}} : {{boolean}} ; {{#t}} is {{#b1}}, {{#f}} is {{#b0}}
    161163
    162 {{SRFI-60}} {{(copy-bit k n b)}}; note argument order change
     164Renamed {{SRFI-60}} {{(copy-bit k n b)}}; note argument order change.
    163165
    164166=== bitwise-field
     
    170172; {{END}} : {{fixnum}}
    171173
    172 {{SRFI-60}} {{bit-field}}
     174Renamed {{SRFI-60}} {{bit-field}}.
    173175
    174176=== bitwise-field-copy
     
    181183; {{END}} : {{fixnum}}
    182184
    183 {{SRFI-60}} {{copy-bit-field}}
     185Renamed {{SRFI-60}} {{copy-bit-field}}.
    184186
    185187=== bitwise-field-reverse
     
    191193; {{END}} : {{fixnum}}
    192194
    193 {{SRFI-60}} {{reverse-bit-field}}
     195Renamed {{SRFI-60}} {{reverse-bit-field}}.
    194196
    195197<procedure>(bitwise-field-rotate N COUNT START END) --> integer</procedure>
     
    200202; {{END}} : {{fixnum}}
    201203
    202 {{SRFI-60}} {{rotate-bit-field}}
     204Renamed {{SRFI-60}} {{rotate-bit-field}}.
    203205
    204206=== integer->list
Note: See TracChangeset for help on using the changeset viewer.