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

4
LINES

< > BotCompany Repo | #1024476 - longToInt_clip

JavaX fragment (include)

static int longToInt_clip(long l) {
  ret l > Int.MAX_VALUE ? Int.MAX_VALUE
    : l < Int.MIN_VALUE ? Int.MIN_VALUE : (int) l;
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1024476
Snippet name: longToInt_clip
Eternal ID of this version: #1024476/2
Text MD5: f9c967737ab16119d9386afc7e4980e7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-13 17:23:28
Source code size: 131 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 3 / 14
Version history: 1 change(s)
Referenced in: [show references]