Fixed typo in ACOSH for complex numbers

This commit is contained in:
jgarcia 2007-12-18 20:41:43 +00:00
parent 8a7114e142
commit e5db4b4715
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ Returns, as a string, the location of the machine on which ECL runs."
(defun lisp-implementation-version ()
"Args:()
Returns the version of your ECL as a string."
"@PACKAGE_VERSION@ (CVS 2007-12-13 20:09)")
"@PACKAGE_VERSION@ (CVS 2007-12-18 21:41)")
(defun machine-type ()
"Args: ()

View file

@ -180,7 +180,7 @@ Returns the hyperbolic arc sine of NUMBER."
Returns the hyperbolic arc cosine of NUMBER."
;(log (+ x (sqrt (* (1- x) (1+ x)))))
(if #+(or ecl-min) t #-(or ecl-min) (complexp x)
(complex-acos x)
(complex-acosh x)
#-(or ecl-min)
(let* ((x (float x))
(xr (float x 1d0)))