From 377769ac479aa3f2a790640ad6ccb4c63da52890 Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Mon, 22 Jul 2002 17:01:36 +0000
Subject: [PATCH] FLOAT-RADIX is supposed to signal an error if the argument is
 not a float.

---
 code/float.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/float.lisp b/code/float.lisp
index 45277aeb3..a9d2d0ff0 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.27 2002/05/08 15:38:24 toy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/float.lisp,v 1.28 2002/07/22 17:01:36 toy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -362,8 +362,8 @@
 (defun float-radix (f)
   "Returns (as an integer) the radix b of its floating-point
    argument."
-  (declare (float f)(ignorable f))
-  2)
+  (number-dispatch ((f float))
+    ((float) 2)))
 
 
 
-- 
GitLab