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

15
LINES

< > BotCompany Repo | #1003825 // sqr - square an int, long, double or float

JavaX fragment (include)

static int sqr(int i) {
  ret i*i;
}

static long sqr(long l) {
  ret l*l;
}

static double sqr(double d) {
  ret d*d;
}

static float sqr(float f) {
  ret f*f;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003825
Snippet name: sqr - square an int, long, double or float
Eternal ID of this version: #1003825/7
Text MD5: 5db894c04bc1355cd11da6dbf22037b5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-15 16:22:10
Source code size: 176 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 540 / 586
Version history: 6 change(s)
Referenced in: [show references]