Skip to content
Snippets Groups Projects
Commit 1ac41033 authored by dtc's avatar dtc
Browse files

Now have an inline verion of %log1p for the x86 port so don't need

to call the C library version.
parent 44ce3860
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.26 1998/02/19 03:49:49 dtc Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.27 1998/02/24 18:18:17 dtc Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -77,8 +77,7 @@ ...@@ -77,8 +77,7 @@
(def-math-rtn "pow" 2) (def-math-rtn "pow" 2)
#-x86 (def-math-rtn "sqrt" 1) #-x86 (def-math-rtn "sqrt" 1)
(def-math-rtn "hypot" 2) (def-math-rtn "hypot" 2)
#-hpux #-(or hpux x86) (def-math-rtn "log1p" 1)
(def-math-rtn "log1p" 1)
#+x86 ;; These are needed for use by byte-compiled files. #+x86 ;; These are needed for use by byte-compiled files.
(progn (progn
...@@ -149,6 +148,10 @@ ...@@ -149,6 +148,10 @@
(declare (double-float x) (declare (double-float x)
(values double-float)) (values double-float))
(%logb x)) (%logb x))
(defun %log1p (x)
(declare (double-float x)
(values double-float))
(%log1p x))
) ; progn ) ; progn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment