mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-02-18 13:10:48 -08:00
Fixed typo in ACOSH for complex numbers
This commit is contained in:
parent
8a7114e142
commit
e5db4b4715
2 changed files with 2 additions and 2 deletions
|
|
@ -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: ()
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue