Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Intrinsic Procedures for Bit Operation and Representation

The following tables list intrinsic procedures for bit operation and representation.

Bit Operation

Name

Procedure Type

Description

BGE

Intrinsic Function

Performs a bitwise comparison for greater than or equal.

BGT

Intrinsic Function

Performs a bitwise comparison for greater than.

BLE

Intrinsic Function

Performs a bitwise comparison for less than or equal.

BLT

Intrinsic Function

Performs a bitwise comparison for less than.

BIT_SIZE

Intrinsic Function

Returns the number of bits in integers of the type the argument.

Bit Representation

Name

Procedure Type

Description

LEADZ

Intrinsic Function

Returns leading zero bits in an integer.

POPCNT

Intrinsic Function

Returns number of 1 bits in an integer.

POPPAR

Intrinsic Function

Returns the parity of an integer.

TRAILZ

Intrinsic Function

Returns trailing zero bits in an integer.