From f9b7c698e7972bc6861ed7057847a287d128666c Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Sat, 20 Dec 1997 19:52:01 +0000
Subject: [PATCH] Restore the defined result type for sin and cos to (or (float
 -1.0 1.0) (complex float)) as the problems this was causing have been fixed
 elsewhere.

---
 compiler/fndb.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/fndb.lisp b/compiler/fndb.lisp
index c974b211a..44291b1a3 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.77 1997/12/04 04:05:34 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/fndb.lisp,v 1.78 1997/12/20 19:52:01 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -286,7 +286,7 @@
 #+propagate-fun-type
 (progn
 (defknown (sin cos) (number)
-  irrational
+  (or (float -1.0 1.0) (complex float))
   (movable foldable flushable explicit-check recursive))
 
 (defknown atan
-- 
GitLab