Browsing Wiremod's section
← Back to ACE
🔁

Mirrored article

This page is synced automatically from the wiremod/wire GitHub wiki (last synced 1 hour ago). Edits made here will be overwritten on the next sync — contribute on the source wiki instead.

e2 docs bitwise

📁 MathUpdated 1 hour ago•0 views
Bitwise = bAnd( A, B) Performs bitwise AND against the two numbers (2 ops) = bOr( A, B) Performs bitwise OR against the two numbers (2 ops) = bXor( A, B) Performs bitwise XOR against the two numbers (

Jump to table of contents

Bitwise
= bAnd( A, B)
Performs bitwise AND against the two numbers (2 ops)

= bOr( A, B)
Performs bitwise OR against the two numbers (2 ops)

= bXor( A, B)
Performs bitwise XOR against the two numbers (2 ops)

= bShr( A, B)
Performs bitwise shift right on the first number by the amount of the second (2 ops)

= bShl( A, B)
Performs bitwise shift left on the first number by the amount of the second (2 ops)

= bNot( N)
Performs a binary Not (2 ops)

= bNot( N, Bits)
Performs a binary Not. The second argument is the length of the number you wish to perform Not on in bits (2 ops)

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.