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

3
LINES

< > BotCompany Repo | #1027864 // incIfOdd

JavaX fragment (include)

static int incIfOdd(int i) {
  ret ((i-1) | 1)+1;
}

Author comment

Began life as a copy of #1026401

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: #1027864
Snippet name: incIfOdd
Eternal ID of this version: #1027864/1
Text MD5: 1476420cb77e42cbb65a8ba652e3048e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 12:57:45
Source code size: 53 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 175
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)