diff scripts/elfun/acot.m @ 4692:ae49c6ba722c

[project @ 2004-01-10 22:15:47 by jwe]
author jwe
date Sat, 10 Jan 2004 22:15:47 +0000
parents 5b77cf82393c
children 4c8a2e4e0717
line wrap: on
line diff
--- a/scripts/elfun/acot.m
+++ b/scripts/elfun/acot.m
@@ -30,6 +30,6 @@
     usage ("acot (z)");
   endif
 
-  w = pi/2 - atan (z);
+  w = atan (1./z);
 
 endfunction