Warning: session_start(): open(/var/lib/php/sessions/sess_4b9f1jl78dci3l16obacut8l7a, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
allFractionsZero [1032025]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1032025 // allFractionsZero

JavaX fragment (include)

sbool allFractionsZero(double[] a) {
  fOr (double d : a)
    if (frac(d) != 0)
      false;
  true;
}

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: 613 / 606
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)