Modules

  • A • B • C • D • E
  • F • G • H • I • L
  • M • N • O • P • S
  • T • U • X

Tools

sqrt

Perl 5 version 8.9 documentation
Recently read

sqrt

  • sqrt EXPR

  • sqrt

    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.

    1. use Math::Complex;
    2. print sqrt(-2); # prints 1.4142135623731i