1 | static int sqr(int i) { |
2 | ret i*i; |
3 | } |
4 | |
5 | static long sqr(long l) { |
6 | ret l*l; |
7 | } |
8 | |
9 | static double sqr(double d) { |
10 | ret d*d; |
11 | } |
12 | |
13 | static float sqr(float f) { |
14 | ret f*f; |
15 | } |
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: | 637 / 693 |
Version history: | 6 change(s) |
Referenced in: | [show references] |