static double firstNonNegativeDouble_orMinus1(double... l) { for (double d : l) if (d >= 0) ret d; ret -1; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026929 |
Snippet name: | firstNonNegativeDouble_orMinus1 |
Eternal ID of this version: | #1026929/1 |
Text MD5: | 70e95cda9582bc7c34b0ba4fb283a6ab |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-02 21:12:37 |
Source code size: | 115 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 225 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |