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

7
LINES

< > BotCompany Repo | #1002075 // rat function - make rational number

JavaX fragment (include)

static Rat rat(long l) {
  ret new Rat(l);
}

static Rat rat(long a, long b) {
  ret new Rat(a, b);
}

Author comment

TODO: more signatures (see Rat constructors)

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002075
Snippet name: rat function - make rational number
Eternal ID of this version: #1002075/2
Text MD5: 8a18a948d0b4157b7b11cd3b6ed0a8d1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-08 01:23:23
Source code size: 107 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 807 / 937
Version history: 1 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013515 - rat_noSimplify function - maken unsimplified rational number
#3000382 - Answer for ferdie (>> t = 1, f = 0)