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

3
LINES

< > BotCompany Repo | #1035413 // cyclicAdd

JavaX fragment (include)

static int cyclicAdd(int a, int b, int n) {
  ret mod(a+b, n);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035413
Snippet name: cyclicAdd
Eternal ID of this version: #1035413/3
Text MD5: 225b005b49ffc74375414349b92c98a7
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-06 17:18:32
Source code size: 66 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 53 / 63
Version history: 2 change(s)
Referenced in: [show references]