1 | static int varyInt(int i) { |
2 | ret varyInt(10, i); |
3 | } |
4 | |
5 | static int varyInt(int range, int i) { |
6 | ret random(i-range, i+range+1); |
7 | } |
Began life as a copy of #1014955
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: | #1014987 |
Snippet name: | varyInt |
Eternal ID of this version: | #1014987/2 |
Text MD5: | ac0b7b5ffd9f6d412702eea363a8221e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-07 16:34:20 |
Source code size: | 135 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 446 |
Version history: | 1 change(s) |
Referenced in: | [show references] |