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

9
LINES

< > BotCompany Repo | #1004826 - odd - is a number odd?

JavaX fragment (include)

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

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

static bool odd(BigInt i) { ret odd(toInt(i)); }

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1004826
Snippet name: odd - is a number odd?
Eternal ID of this version: #1004826/3
Text MD5: fb1b491f9e075ce1a50b8588b5f0dcba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-12 21:22:27
Source code size: 153 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 371 / 570
Version history: 2 change(s)
Referenced in: [show references]

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