onlydustxyz / starklings

An interactive tutorial to get you up and running with Starknet
309 stars 83 forks source link

Bitwise operations basic exercise #137

Closed tekkac closed 2 years ago

tekkac commented 2 years ago

Description

Bitwise operations such as AND, OR, and XOR, are not basic operations for felts. The Bitwise builtin is an ad-hoc module to enable those common operations and require implicit arguments.

Write a basic exercise to demonstrate how to use bit-wise in Cairo.

Resource:

Acceptance criteria