From 40004fed7eb9608331ae2236cbf6573ea02e00ad Mon Sep 17 00:00:00 2001 From: toy <toy> Date: Wed, 8 May 2002 15:38:24 +0000 Subject: [PATCH] Declaim %UNARY-FTRUNCATE/SINGLE-FLOAT and %UNARY-FTRUNCATE/DOUBLE-FLOAT as maybe-inline so that they can be inlined by the user if desired. --- code/float.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/float.lisp b/code/float.lisp index e643bf326..45277aeb3 100644 --- a/code/float.lisp +++ b/code/float.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/float.lisp,v 1.26 2002/03/05 21:34:15 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/float.lisp,v 1.27 2002/05/08 15:38:24 toy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1063,6 +1063,8 @@ rounding modes & do ieee round-to-integer. (- rounded) rounded))))))) +(declaim (maybe-inline %unary-ftruncate/single-float + %unary-ftruncate/double-float)) ;; %UNARY-FTRUNCATE/SINGLE-FLOAT ;; ;; Basically the same as ftruncate, but specialized to handle only -- GitLab