Libraryless. Click here for Pure Java version (3897L/25K/83K).
1 | !759 |
2 | |
3 | static boolean safe(Native n) {
|
4 | if (n.match("Z = [[in S X] + [in S Y]]")) yo {
|
5 | BigInteger x = bigint(n.str("X"));
|
6 | BigInteger y = bigint(n.str("Y"));
|
7 | n.set("Z", str(x.add(y)));
|
8 | ret true; |
9 | } |
10 | |
11 | ret false; |
12 | } |
Began life as a copy of #1002765
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: | #1002803 |
| Snippet name: | SNL Native: add |
| Eternal ID of this version: | #1002803/1 |
| Text MD5: | 1e36f2a71e14644ee995405c5bbd2003 |
| Transpilation MD5: | 5ff82dc6f5d231a3d6e4f6b96f90eb19 |
| Author: | stefan |
| Category: | eleu / nl |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-02-25 21:18:27 |
| Source code size: | 244 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 832 / 1117 |
| Referenced in: | [show references] |