Libraryless. Click here for Pure Java version (3987L/23K).
1 | static int ifloor(double d) { |
2 | ret (int) Math.floor(d); |
3 | } |
4 | |
5 | static IntRange ifloor(DoubleRange r) { |
6 | ret r == null ?: intRange(ifloor(r.start), ifloor(r.end)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008545 |
Snippet name: | ifloor - round down |
Eternal ID of this version: | #1008545/3 |
Text MD5: | 5d720a0d7161c7d02a20589d72c42ceb |
Transpilation MD5: | 54527bb090060a62945ae0865e883844 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-17 20:05:04 |
Source code size: | 168 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 651 |
Version history: | 2 change(s) |
Referenced in: | [show references] |