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

9
LINES

< > BotCompany Repo | #1034791 // powersOfNAsHex

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Compilation Failed (93L/1K).

static InfiniteItIt<S> powersOfNAsHex(int n) {
  ret new InfiniteItIt<S> {
    BigInt i = bigint(1);
    
    public S next() {
      ret (i = mul(i, n)).toString(16);
    }
  };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034791
Snippet name: powersOfNAsHex
Eternal ID of this version: #1034791/2
Text MD5: 3bdb998b4d034052c44c73bee940ef1f
Transpilation MD5: af2a5fb6df1dba6f5b9a34fb7c4579c8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-10 16:14:16
Source code size: 188 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 208
Version history: 1 change(s)
Referenced in: [show references]