diff --git a/code/irrat.lisp b/code/irrat.lisp index ac500bc1f511e551ccd91b066bdc48c18b799465..4c5658c1d89a8b9da50fad38e82b09d4cf911c98 100644 --- a/code/irrat.lisp +++ b/code/irrat.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.43 2005/10/20 12:32:08 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.44 2006/05/03 19:39:56 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -154,6 +154,17 @@ (%log1p x)) ) ; progn + +;; As above for x86. It also seems to be needed to handle +;; constant-folding in the compiler. +#+sparc +(progn + (defun %sqrt (x) + (declare (double-float x) + (values double-float)) + (%sqrt x)) + ) + ;;;; Power functions.