1 | static int longToInt_clip(long l) { |
2 | ret l > Int.MAX_VALUE ? Int.MAX_VALUE |
3 | : l < Int.MIN_VALUE ? Int.MIN_VALUE : (int) l; |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
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: | 243 / 287 |
Version history: | 1 change(s) |
Referenced in: | [show references] |