Changeset 38931 in project
 Timestamp:
 08/30/20 06:55:19 (4 weeks ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/5/bitwiseutils
r38930 r38931 59 59 60 60 ; {{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}}. 62 62 63 63 <enscript language=scheme> … … 109 109 ; {{N1}} : {{integer}} 110 110 111 {{SRFI60}} {{bitwiseif}} 111 Renamed {{SRFI60}} {{bitwiseif}}. 112 112 113 113 === bitwisenth? … … 118 118 ; {{N}} : {{fixnum}} 119 119 120 {{SRFI60}} {{bitset?}} 120 Renamed {{SRFI60}} {{bitset?}}. 121 121 122 122 === bitwiseany? … … 127 127 ; {{N2}} : {{integer}} 128 128 129 {{SRFI60}} {{anybitsset?}} 129 Renamed {{SRFI60}} {{anybitsset?}}. 130 130 131 131 === bitwisefirstset … … 135 135 ; {{N}} :integer 136 136 137 {{SRFI60}} {{firstsetbit}} 137 Renamed {{SRFI60}} {{firstsetbit}}. 138 138 139 139 === bitwisereverse … … 146 146 === bitwiserotate 147 147 148 <procedure>(bitwiserotate TO INDEX LEN) > integer</procedure> 149 150 ; {{TO}} : {{integer}} 151 ; {{INDEX}} : {{fixnum}} 148 <procedure>(bitwiserotate K COUNT LEN) > integer</procedure> 149 150 Performs {{(bitwisefieldrotate K COUNT 0 LEN)}}. 151 152 ; {{K}} : {{integer}} 153 ; {{COUNT}} : {{fixnum}} 152 154 ; {{LEN}} : {{fixnum}} 153 155 … … 160 162 ; {{ON?}} : {{boolean}} ; {{#t}} is {{#b1}}, {{#f}} is {{#b0}} 161 163 162 {{SRFI60}} {{(copybit k n b)}}; note argument order change 164 Renamed {{SRFI60}} {{(copybit k n b)}}; note argument order change. 163 165 164 166 === bitwisefield … … 170 172 ; {{END}} : {{fixnum}} 171 173 172 {{SRFI60}} {{bitfield}} 174 Renamed {{SRFI60}} {{bitfield}}. 173 175 174 176 === bitwisefieldcopy … … 181 183 ; {{END}} : {{fixnum}} 182 184 183 {{SRFI60}} {{copybitfield}} 185 Renamed {{SRFI60}} {{copybitfield}}. 184 186 185 187 === bitwisefieldreverse … … 191 193 ; {{END}} : {{fixnum}} 192 194 193 {{SRFI60}} {{reversebitfield}} 195 Renamed {{SRFI60}} {{reversebitfield}}. 194 196 195 197 <procedure>(bitwisefieldrotate N COUNT START END) > integer</procedure> … … 200 202 ; {{END}} : {{fixnum}} 201 203 202 {{SRFI60}} {{rotatebitfield}} 204 Renamed {{SRFI60}} {{rotatebitfield}}. 203 205 204 206 === integer>list
Note: See TracChangeset
for help on using the changeset viewer.