Libraryless. Click here for Pure Java version (32L/1K).
static double log(double d) { ret Math.log(d); } static double log(double d, double base) { ret Math.log(d)/Math.log(base); }
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: | 275 / 366 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1029058 - log10 - logarithm to base 10 |