copy-bit

[procedure] copy-bit index n bit

SLIB, Gauche: returns an integer which is the same as an integer n except the index-th bit is set to bit. See also logbit?, bit-field, copy-bit-field.