Jump to content

Digital root/Multiplicative digital root: Difference between revisions

m
(rust example)
m (→‎{{header|Wren}}: Minor tidy)
Line 3,660:
{{libheader|Wren-fmt}}
The size of some of the numbers here is such that we need to use BigInt.
<syntaxhighlight lang="ecmascriptwren">import "./big" for BigInt
import "./fmt" for Fmt
 
// Only valid for n > 0 && base >= 2
9,482

edits

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