Libraryless. Click here for Pure Java version (50L/1K).
1 | static BigInteger plus(BigInteger a, BigInteger b) {
|
2 | ret a.add(b); |
3 | } |
4 | |
5 | static BigInteger plus(BigInteger a, long b) {
|
6 | ret a.add(bigint(b)); |
7 | } |
8 | |
9 | static long plus(long a, long b) { ret a+b; }
|
10 | static int plus(int a, int b) { ret a+b; }
|
11 | static float plus(float a, float b) { ret a+b; }
|
12 | static double plus(double a, double b) { ret a+b; } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007709 |
| Snippet name: | plus - add BigIntegers etc |
| Eternal ID of this version: | #1007709/5 |
| Text MD5: | 878d468b855c0828720f266fc445123e |
| Transpilation MD5: | 70f7309fcadfaf7adb53e2121f3d3f6c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-18 13:19:07 |
| Source code size: | 346 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1214 / 1448 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |