File tree Expand file tree Collapse file tree 2 files changed +34
-24
lines changed
compliance/tests/named_types_valueof Expand file tree Collapse file tree 2 files changed +34
-24
lines changed Original file line number Diff line number Diff line change @@ -8,27 +8,3 @@ buildtarget
8
8
.idea
9
9
output
10
10
out
11
-
12
- # Added by Claude Task Master
13
- # Logs
14
- logs
15
- * .log
16
- npm-debug.log *
17
- yarn-debug.log *
18
- yarn-error.log *
19
- dev-debug.log
20
- # Dependency directories
21
- node_modules /
22
- # Environment variables
23
- .env
24
- # Editor directories and files
25
- .vscode
26
- * .suo
27
- * .ntvs *
28
- * .njsproj
29
- * .sln
30
- * .sw ?
31
- # OS specific
32
- # Task files
33
- tasks.json
34
- tasks /
Original file line number Diff line number Diff line change
1
+ Local bitwise operations:
2
+ LocalInt | 3: 11
3
+ LocalUint & 7: 5
4
+ LocalInt ^ 15: 5
5
+ localConst | myInt: 30
6
+ LocalLevel1 | 7: 103
7
+
8
+ Cross-package operations:
9
+ subpkg.IntValue: 42
10
+ subpkg.UintValue: 255
11
+ subpkg.FloatValue: 3.14
12
+ subpkg.StringValue: hello
13
+ subpkg.BoolValue: true
14
+ subpkg.UintValue | 0x20: 255
15
+ subpkg.LevelValue & 0xFFF: 0
16
+ subpkg.GetCombinedFlags(): 255
17
+ subpkg.LevelValue | 0x0F: 4111
18
+ Mixed operation result: 255
19
+
20
+ Testing all bitwise operators:
21
+ base: 42
22
+ base | 8: 42
23
+ base & 15: 10
24
+ base ^ 31: 53
25
+ base << 2: 168
26
+ base >> 1: 21
27
+ base &^ 7: 40
28
+
29
+ Different underlying types:
30
+ LocalFloat: 2.5
31
+ LocalString: test
32
+ LocalBool: true
33
+ LocalFloat * 2.0: 5
34
+ test finished
You can’t perform that action at this time.
0 commit comments