Jump to content

First power of 2 that has leading decimal digits of 12: Difference between revisions

m
(add RPL)
m (→‎{{header|Wren}}: Minor tidy)
Line 2,168:
{{libheader|Wren-math}}
Just the first version which has turned out to be much quicker than the Go entry (around 28 seconds on the same machine). Frankly, I've no idea why.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
import "./math" for Math
 
var ld10 = Math.ln2 / Math.ln10
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.