all repos — min @ ab455edbaff6ba083df1154078e2eaaef624fcfb

A small but practical concatenative programming language.

site/contents/reference-binary.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
-----
content-type: "page"
title: "binary Module"
-----
{@ _defs_.md || 0 @}

{#op||bitand||{{i1}} {{i2}}||{{i3}}||
Computes the bitwise *and* of numbers {{i1}} and {{i2}}.#}

{#op||bitnot||{{i1}}||{{i2}}||
Computes the bitwise *complement* of {{i1}}.#}

{#op||bitor||{{i1}} {{i2}}||{{i3}}||
Computes the bitwise *or* of numbers {{i1}} and {{i2}}.#}

{#op||bitxor||{{i1}} {{i2}}||{{i3}}||
Computes the bitwise *xor* of numbers {{i1}} and {{i2}}.#}

{#op||shl||{{i1}} {{i2}}||{{i3}}||
Computes the *shift left* operation of {{i1}} and {{i2}}.#}

{#op||shr||{{i1}} {{i2}}||{{i3}}||
Computes the *shift right* operation of {{i1}} and {{i2}}.#}