static int iround_clamp(double d) { ret iround(clamp(d, Int.MIN_VALUE, Int.MAX_VALUE)); }
Began life as a copy of #1003741
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035529 |
| Snippet name: | iround_clamp - round to int, clamp to int range |
| Eternal ID of this version: | #1035529/1 |
| Text MD5: | eb47f4ad79f5616170309b5049890da4 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-06-04 05:33:29 |
| Source code size: | 93 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 331 / 347 |
| Referenced in: | [show references] |