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

2
LINES

< > TinyBrain | #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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

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: 141 / 148
Referenced in: [show]