static double ld(double d) { ret Math.log(d) / Math.log(2); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012267 |
Snippet name: | ld - logarithm in base 2 |
Eternal ID of this version: | #1012267/1 |
Text MD5: | e0e2b8f24f445afa6902e34ad64b47a0 |
Author: | stefan |
Category: | javax / math |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-26 20:09:34 |
Source code size: | 65 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 366 / 441 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025243 - log - natural logarithm or logarithm with base #1032584 - ld_ceil - logarithm in base 2, rounded up |