Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

sqrt

Perl 5 version 22.0 documentation
Recently read

sqrt

  • sqrt EXPR

  • sqrt

    Return the positive square root of EXPR. If EXPR is omitted, uses $_ . Works only for non-negative operands unless you've loaded the Math::Complex module.

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