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

7
LINES

< > BotCompany Repo | #1007642 - even - is a number even?

JavaX fragment (include)

static bool even(int i) {
  ret (i & 1) == 0;
}

static bool even(long i) {
  ret (i & 1) == 0;
}

Author comment

Began life as a copy of #1004826

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1007642
Snippet name: even - is a number even?
Eternal ID of this version: #1007642/2
Text MD5: 4c2e1a31135526cf98d42e0263e48161
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-06 20:02:22
Source code size: 103 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 297 / 314
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1007642 & http://1007642.tinybrain.de