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

2
LINES

< > BotCompany Repo | #1008044 // minus1 - subtract 1 from argument

JavaX fragment (include)

static int minus1(int i) { ret i-1; }
static BigInteger minus1(BigInteger i) { ret minus(i, bigint(1)); }

Author comment

Began life as a copy of #1008043

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008044
Snippet name: minus1 - subtract 1 from argument
Eternal ID of this version: #1008044/1
Text MD5: f01e5872042a20855ad38892341efad6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-21 16:20:09
Source code size: 106 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 576 / 600
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)