From 999c2f886ebd736cb34ccfea13121c70d0d861ed Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Wed, 3 Dec 1997 08:19:47 +0000 Subject: [PATCH] Fix the result type of sin and cos, which should be (complex float) not (complex (float -1.0 1.0))). From Raymond Toy. --- compiler/fndb.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/fndb.lisp b/compiler/fndb.lisp index 49741786d..6bf0c044c 100644 --- a/compiler/fndb.lisp +++ b/compiler/fndb.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/compiler/fndb.lisp,v 1.75 1997/10/24 18:08:10 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/fndb.lisp,v 1.76 1997/12/03 08:19:47 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -261,7 +261,7 @@ (movable foldable flushable explicit-check)) (defknown (sin cos) (number) - (or (float -1.0 1.0) (complex (float -1.0 1.0))) + (or (float -1.0 1.0) (complex float)) (movable foldable flushable explicit-check recursive) :derive-type #'result-type-float-contagion) -- GitLab