[project @ 2004-01-10 22:15:47 by jwe]
author |
jwe |
date |
Sat, 10 Jan 2004 22:15:47 +0000 |
parents |
bdc51b369a78 |
children |
3387590ed11d |
files |
scripts/ChangeLog scripts/elfun/acot.m |
diffstat |
2 files changed, 4 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,5 +1,8 @@
2004-01-10 John W. Eaton <jwe@bevo.che.wisc.edu>
+ * elfun/acot.m: Return atan (1./z).
+ From Gregory Vanuxem <g.vanuxem@wanadoo.fr>.
+
* miscellaneous/dir.m: New file.
* general/num2str.m: Use "%d" as format if values are ints with
--- 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