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

3
LINES

< > BotCompany Repo | #1031290 // assertPowerOfTwo

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

Libraryless. Click here for Pure Java version (2746L/16K).

1  
svoid assertPowerOfTwo(int i) {
2  
  if (!isPowerOfTwo(i)) fail(i);
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031290
Snippet name: assertPowerOfTwo
Eternal ID of this version: #1031290/1
Text MD5: 53333d1a6075d4941f8fbfb66b1feb58
Transpilation MD5: f3b9fd5d38a66f8703a3d4c642c3bd9e
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-03 05:22:08
Source code size: 68 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 176 / 227
Referenced in: [show references]