Libraryless. Click here for Pure Java version (32L/1K).
1 | static double log(double d) { |
2 | ret Math.log(d); |
3 | } |
4 | |
5 | static double log(double d, double base) { |
6 | ret Math.log(d)/Math.log(base); |
7 | } |
Began life as a copy of #1012267
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: | #1025243 |
Snippet name: | log - natural logarithm or logarithm with base |
Eternal ID of this version: | #1025243/3 |
Text MD5: | f57e958822065e299baa3d3732a743ce |
Transpilation MD5: | 29fff348904de841bf3dd3418137548a |
Author: | stefan |
Category: | javax / math |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-20 07:35:50 |
Source code size: | 136 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 274 / 366 |
Version history: | 2 change(s) |
Referenced in: | [show references] |