Root
Last updated
Was this helpful?
sqrt x
cbrt x
x root ysqrt/cbrtsqrt and cbrt, find the square root and the cube root of the given operand respectively. They are aliases of x root 2 and x root 3. There is minimal speed different, if any, and are simply exist for clearer code.
rootroot finds the nth root of x (nx), where n=y. It is equivilent to x ** y ** -1
sqrt 16 // 4
cbrt 8 // 2
16 root 4 // 2Last updated
Was this helpful?
Was this helpful?