Help for this page

Select Code to Download


  1. or download this
    my $ninety_degrees = atan(1)*2;
    
  2. or download this
    sub atan {
        return 0 if $_[0]==0;
    ...
             atan2(sqrt(1+$_[0]*$_[0]),sqrt(1+1/($_[0]*$_[0]))) :
            -atan2(sqrt(1+$_[0]*$_[0]),sqrt(1+1/($_[0]*$_[0])));
    }