static short avgShort(short a, short b) { ret (short) ((a+(int) b)/2); }
Began life as a copy of #1006807
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019267 |
Snippet name: | avgShort - average of 2 short values |
Eternal ID of this version: | #1019267/3 |
Text MD5: | f6376f0ef16d942037875b5881ecd14f |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-28 18:08:42 |
Source code size: | 76 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 368 |
Version history: | 2 change(s) |
Referenced in: | [show references] |