Return the square root of EXPR. If EXPR is omitted, returns square root of $_.
Only works on non-negative operands, unless you've loaded the standard Math::Complex
module.
use Math::Complex;
print sqrt(-2); # prints 1.4142135623731i
[ As far as we know, our computer has never had an undetected error.
]
Disclaimer: This
documentation is provided only for the benefits of our web hosting customers.
For authoritative source of the documentation, please refer to http://www.perldoc.com