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

3
LINES

< > BotCompany Repo | #1029451 // ldiv_ceil - long divide, round up

JavaX fragment (include)

static long ldiv_ceil(long a, long b) {
  ret (a+b-1)/b;
}

Author comment

Began life as a copy of #1020216

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: #1029451
Snippet name: ldiv_ceil - long divide, round up
Eternal ID of this version: #1029451/2
Text MD5: 4d2d40115f6d2e6a5118d8c009eb7f06
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-08 15:13:38
Source code size: 60 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 174
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)