Transpiled version (3844L) is out of date.
1 | static short[] doubleToShortArray_iround(double[] a, int start, int end) { |
2 | short[] b = new[end-start]; |
3 | for (int i = start; i < end; i++) |
4 | b[i-start] = clampToShort(iround(a[i])); |
5 | ret b; |
6 | } |
7 | |
8 | static short[] doubleToShortArray_iround(double[] a) { |
9 | ret a == null ?: doubleToShortArray_iround(a, 0, a.length); |
10 | } |
Began life as a copy of #1026893
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033248 |
Snippet name: | doubleToShortArray_iround |
Eternal ID of this version: | #1033248/2 |
Text MD5: | c5efdc25ac29f04630d485138c2b83bf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-17 20:31:56 |
Source code size: | 325 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 220 |
Version history: | 1 change(s) |
Referenced in: | [show references] |