Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Nth-root/Sidef/nth-root-2.sidef
Normal file
6
Task/Nth-root/Sidef/nth-root-2.sidef
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
func nthroot_fast(n, a, precision=1e-5) {
|
||||
{ a = nthroot(2, a, precision) } * int(n-1)
|
||||
a ** (2**int(n-1) / n)
|
||||
}
|
||||
|
||||
say nthroot_fast(5, 34, 1e-64) # => 2.02439745849988504251081724554193741911462170107
|
||||
Loading…
Add table
Add a link
Reference in a new issue