Libraryless. Click here for Pure Java version (8062L/45K).
1 | static int idiv_floor(int a, int b) { |
2 | ret a/b; |
3 | } |
4 | |
5 | static int idiv_floor(double a, double b) { |
6 | ret ifloor(a/b); |
7 | } |
Began life as a copy of #1034948
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035258 |
Snippet name: | idiv_floor - integer divide, round down |
Eternal ID of this version: | #1035258/1 |
Text MD5: | aec953fa40cb2d17cc944790ea76e693 |
Transpilation MD5: | d80aa02bacbe08f2ddcb4b108534ae48 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-27 14:40:24 |
Source code size: | 122 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 133 / 195 |
Referenced in: | [show references] |