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 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: | 244 / 287 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |