For Development HEAD DRAFTSearch (procedure/syntax/module):

11.38 srfi.178 - Bitvector library

Module: srfi.178

Gauche supports all SRFI-178 operations by built-in procedures and the module gauche.bitvector.

The following procedures are built-in. See Bitvectors, for the description.

bit->integer      bit->boolean
bitvector         make-bitvector     list->bitvector
bitvector?        bitvector-length
string->bitvector bitvector->string
bitvector-ref/int bitvector-ref/bool
bitvector-set!    bitvector-copy     bitvector-copy!

The following procedures are provided in gauche.bitvector - Bitvector utilities.

bitvector-unfold  bitvector-unfold-right  bitvector-reverse-copy
bitvector-append  bitvector-concatenate   bitvector-append-subbitvectors
bitvector-emtpy?  bitvector=?
bitvector-take    bitvector-take-right
bitvector-drop    bitvector-drop-right
bitvector-segment
bitvector-fold/int       bitvector-fold/bool
bitvector-fold-right/int bitvector-fold-right/bool
bitvector-map/int        bitvetor-map/bool
bitvector-map!/int       bitvetor-map!/bool
bitvector-map->list/int  bitvector-map->list/bool
bitvector-for-each/int   bitvector-for-each/bool
bitvector-prefix-length  bitvector-suffix-length
bitvector-prefix?        bitvector-suffix?
bitvector-pad            bitvector-pad-right
bitvector-trim           bitvector-trim-right        bitvector-trim-both
bitvector-swap!          bitvector-reverse!          bitvector-reverse-copy!
bitvector->list/int      bitvector->list/bool
reverse-bitvector->list/int reverse-bitvector->list/bool
reverse-list->bitvector
bitvector->vector/int    bitvector->vector/bool
reverse-bitvector->vector/int reverse-bitvector->vector/bool
vector->bitvector        reverse-vector->bitvector
bitvector->integer
integre->bitvector
make-bitvector/int-generator make-bitvector/bool-generator
make-bitvector-accumulator
bitvector-not            bitvector-not!
bitvector-and            bitvector-and!
bitvector-ior            bitvector-ior!
bitvector-xor            bitvector-xor!
bitvector-eqv            bitvector-eqv!
bitvector-nand           bitvector-nand!
bitvector-nor            bitvector-nor!
bitvector-andc1          bitvector-andc1!
bitvector-andc2          bitvector-andc2!
bitvector-orc1           bitvector-orc1!
bitvector-orc2           bitvector-orc2!
bitvector-logical-shift
bitvector-count          bitvector-count-run
bitvector-if
bitvector-first-bit
bitvector-field-any?     bitvector-field-every?
bitvector-field-clear    bitvector-field-clear!
bitvector-field-set      bitvector-field-set!
bitvector-field-replace  bitvector-field-replace!
bitvector-field-replace-same bitvector-field-replace-same!
bitvector-field-rotate
bitvector-field-flip     bitvector-field-flip!


For Development HEAD DRAFTSearch (procedure/syntax/module):
DRAFT