Skip to content

stdlib_math_bitwise

Neil Tallim edited this page Jul 14, 2015 · 1 revision

Introduction

The bitwise namespace provides bitwise-operation-related functions.

Provides

Functions

b_and(x, y)

Returns the bitwise and of x and y.

b_or(x, y)

Returns the bitwise or of x and y.

b_xor(x, y)

Returns the bitwise xor of x and y.

b_not(x)

Returns the bitwise not of x.

lshift(x, y)

Returns x shifted left by y bits.

rshift(x, y)

Returns x shifted right by y bits.

Clone this wiki locally