Libraryless. Click here for Pure Java version (261L/2K).
static double[] subFloatArrayAsDoubleArray(float[] b, int start, int end default l(b)) { start = max(start, 0); end = min(end, l(b)); if (start >= end) ret new double[0]; double[] x = new[end-start]; for (int i = start; i < end; i++) x[i-start] = b[i]; ret x; }
Began life as a copy of #1024603
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036280 |
Snippet name: | subFloatArrayAsDoubleArray |
Eternal ID of this version: | #1036280/3 |
Text MD5: | 18a08edec58cbab77b09bfabd795bd02 |
Transpilation MD5: | 4d297b9e2e9aad80b19c92ceeb68f71b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-08 13:12:48 |
Source code size: | 282 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 152 / 197 |
Version history: | 2 change(s) |
Referenced in: | [show references] |