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

7
LINES

< > BotCompany Repo | #1035258 // idiv_floor - integer divide, round down

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8062L/45K).

static int idiv_floor(int a, int b) {
  ret a/b;
}

static int idiv_floor(double a, double b) {
  ret ifloor(a/b);
}

Author comment

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: 58 / 99
Referenced in: [show references]