Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1029461 // Test compilation of twoIntsToLong

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (43L/1K).

1  
!7
2  
3  
p {
4  
  int a = 0, b = 0;
5  
  long sum = 0;
6  
  
7  
  repeat 300000 {
8  
    sum += twoIntsToLong(a, b);
9  
    a ^= 5; b ^= 10;
10  
  }
11  
  
12  
  System.out.println(sum);
13  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029461
Snippet name: Test compilation of twoIntsToLong
Eternal ID of this version: #1029461/4
Text MD5: 942371f9bdc33bf26b72a06923995b50
Transpilation MD5: 0d4286514da1d309a0142505dd18210d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-09 13:25:00
Source code size: 165 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 197 / 308
Version history: 3 change(s)
Referenced in: [show references]