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

7
LINES

< > BotCompany Repo | #1007413 // charDiff - difference between two chars (as int); a-b

JavaX fragment (include)

static int charDiff(char a, char b) {
  ret (int) a-(int) b;
}

static int charDiff(S a, char b) {
  ret charDiff(stringToChar(a), b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 22 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, jozkyjcghlvl, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, ofpaelxlmzfo, omdjrrnzbjjv, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1007413
Snippet name: charDiff - difference between two chars (as int); a-b
Eternal ID of this version: #1007413/3
Text MD5: 6d5c0e2d2a46a0b1da79f566b6a0bb25
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-06 05:48:44
Source code size: 142 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 569 / 2098
Version history: 2 change(s)
Referenced in: [show references]