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

7
LINES

< > BotCompany Repo | #1004158 // abs

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (30L) is out of date.

meta-for int also as long, float, double {
  static int abs(int i) { ret Math.abs(i); }
}

ifclass Complex
static double abs(Complex c) { ret c.abs(); }
endif

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004158
Snippet name: abs
Eternal ID of this version: #1004158/4
Text MD5: 8a8830933b3844c31fdefdf02bb652ea
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-01-22 15:27:37
Source code size: 164 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 741 / 887
Version history: 3 change(s)
Referenced in: [show references]