static int ratioRoundUp(double a, double b) { ret iceil(ratio(a, b)); } static int ratioRoundUp(int a, int b) { ret (a+b-1)/b; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026631 | 
| Snippet name: | ratioRoundUp | 
| Eternal ID of this version: | #1026631/2 | 
| Text MD5: | 9810648ff2e131477e699258bc6ceef2 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-01-06 16:29:06 | 
| Source code size: | 139 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 404 / 442 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |