Skip to content

Is KIND2 supports bitwise operators? #1000

Answered by daniel-larraz
kumori123 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, Kind 2 supports bit-wise operators. You can find the list of supported operators in the documentation.

The correct syntax for your example is:

function f1(i1: uint8; i2: uint8) returns (o1: uint8)
let
    o1 = i1 || i2;
tel

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kumori123
Comment options

Answer selected by kumori123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants