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

12
LINES

< > BotCompany Repo | #1002803 // SNL Native: add

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3897L/25K/83K).

!759

static boolean safe(Native n) {
  if (n.match("Z = [[in S X] + [in S Y]]")) yo {
    BigInteger x = bigint(n.str("X"));
    BigInteger y = bigint(n.str("Y"));
    n.set("Z", str(x.add(y)));
    ret true;
  }
  
  ret false;
}

Author comment

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: 545 / 763
Referenced in: [show references]