Help for this page

Select Code to Download


  1. or download this
    $x = $y ** (1/4) if $y > 0;
    
  2. or download this
    if($y >= 0){
        $x = $y ** (1/4);
    ...
        undef($x);
        die "Even roots of negative numbers require complex arithmetic\n";
    }