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

3
LINES

< > BotCompany Repo | #1031341 // modBase1

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

Libraryless. Click here for Pure Java version (58L/1K).

static int modBase1(int a, int b) {
  ret b == 0 ? 0 : mod(a-1, b)+1;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031341
Snippet name: modBase1
Eternal ID of this version: #1031341/3
Text MD5: 5cd98b04eb51e77438af3cf99e19fc14
Transpilation MD5: 4968be840a971b63a7792a91a4267f89
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-05 17:57:47
Source code size: 73 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 232
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)