> On May 14, 2020, at 7:27 AM, ToddAndMargo via perl6-users 
> <perl6-users@perl.org> wrote:
> 
> Hi All,
> 
> 1) how do I get 40 or more digits out of sqrt?

—snip—

Use an Integer Root algorithm on ($number-you-want-the-root-of * 100 ** 
$number-of-digits-you-want), then shift the decimal point of the result.

Exact code here:
        https://rosettacode.org/wiki/Integer_roots#Raku

— 
Hope this helps,
Bruce Gray (“Util” on RosettaCode, too)

Reply via email to