Skip to content

Commit 15ef0e2

Browse files
Merge pull request #32 from navinsubramani/Function_List
adding bitwise operations function class
2 parents 84e2ea4 + 20dc3d2 commit 15ef0e2

File tree

9 files changed

+108
-0
lines changed

9 files changed

+108
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
a=60
2+
b=13
3+
4+
print(a&b)
5+
print(a|b)
6+
print(a^b)
7+
print(~a)
8+
print(a<<2)
9+
print(a>>2)
10+
11+
12+
\\output
13+
\\12.000000
14+
\\61.000000
15+
\\49.000000
16+
\\-61.000000
17+
\\240.000000
18+
\\15.000000

source code/LSL components/functions/functions list/Bitwise Functions/Bitwise Functions.lvclass

Lines changed: 90 additions & 0 deletions
Large diffs are not rendered by default.
Binary file not shown.

0 commit comments

Comments
 (0)