1 | sbool allFractionsZero(double[] a) { |
2 | fOr (double d : a) |
3 | if (frac(d) != 0) |
4 | false; |
5 | true; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032025 |
Snippet name: | allFractionsZero |
Eternal ID of this version: | #1032025/3 |
Text MD5: | aea5a5a3587e742d661ece60668fb307 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-11 03:09:13 |
Source code size: | 107 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 215 / 228 |
Version history: | 2 change(s) |
Referenced in: | [show references] |