Bitwise Test

<< Click to Display Table of Contents >>

Navigation:  Function block library > Logic > Bitwise operations >

Bitwise Test

Previous pageReturn to chapter overviewNext page

bitwise_test

This function block tests if a single bit of the input is 1.

Inputs

Type

Default

Description

Input

int

0


Bit

int

0

Bit to test in the input





Outputs




Result

bool


true, if the bit is 1, otherwise false