Libraryless. Click here for Pure Java version (118L/1K/4K).
!752 p { print("5 = " + new Rat(5)); print("5/4 = " + new Rat(5, 4)); print("10/4 = " + new Rat(10, 4)); print("eq: " + eq(new Rat(10, 4), new Rat(20, 8))); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002053 |
| Snippet name: | Test Rat (rational numbers) |
| Eternal ID of this version: | #1002053/1 |
| Text MD5: | 7f30c8424126f053f33a5e3a82ac7eef |
| Transpilation MD5: | a0c862e31225710c8b5cad3417f83e1f |
| Author: | stefan |
| Category: | |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-15 16:42:31 |
| Source code size: | 174 bytes / 8 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 805 / 936 |
| Referenced in: | [show references] |