Skip to main content

Scade One standard libraries 2024 R2

GetBit

Last update: 17.07.2025

Returns whether the bit at the given position of the input is 1.

Interface

Name Kind Type Comment
N P N/A Size of the bit-field
bf I unsigned<<N>> Input bit-field
p I integer Bit position
Range: [0, N[
v O bool Result of the operation

Parent topic:Bitfield

Connect with Ansys