Libraryless. Click here for Pure Java version (810L/6K/19K).
!752 p { testIt("123456789012345678901234567890"); testIt("-123"); print("ok!"); } static void testIt(S val) { BigInteger i = bigint(val); S s = structure(i); print(i); print(quote(s)); O o = safeUnstructure(s); print(o); assertEquals(i, o); }
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: | #1002046 |
Snippet name: | Try structure/unstructure with BigInteger |
Eternal ID of this version: | #1002046/1 |
Text MD5: | 9661cbc2a3308718e5d491a0a922f15e |
Transpilation MD5: | 116c9f1234003c65f998e648114a6f4e |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-15 14:01:55 |
Source code size: | 281 bytes / 17 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 734 / 758 |
Referenced in: | [show references] |