BITCLEAR - Clear a Bit (original) (raw)

Scilab 5.3.3

Please note that the recommended version of Scilab is 2026.0.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Xcos > palettes > Integer palette > BITCLEAR

Block Screenshot

Contents

Description

This block sets to 0 the specified bit of its input. The user gives the bit index in the field Index of Bit with index 0, as that of the least significant bit.The operation can be summarized by this expression:

i.e. a bitwise AND between Input andMask, an integer of the same length as the input with a value0 for the bit to clear and a value 1 for the other bits.

Data types

The block supports the following types :

Dialog box

Default properties

Computational function

Authors

Fady NASSIF - INRIA