Transpiled version (98L) is out of date.
1 | static int ld_iceil(double d) {
|
2 | ret iceil(ld(d)); |
3 | } |
4 | |
5 | static int ld_iceil(int i) {
|
6 | ret numberOfBitsNeededToRepresentNOptions(i); |
7 | } |
Began life as a copy of #1032584
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032585 |
| Snippet name: | ld_iceil - logarithm in base 2, rounded up |
| Eternal ID of this version: | #1032585/3 |
| Text MD5: | 370d415cd61221f187b17a2f640d848c |
| Author: | stefan |
| Category: | javax / math |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-23 07:19:53 |
| Source code size: | 139 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 341 / 445 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |