Skip to content
Snippets Groups Projects
Commit 377769ac authored by toy's avatar toy
Browse files

FLOAT-RADIX is supposed to signal an error if the argument is not a

float.
parent 7cb5b8bb
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (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 @@ ...@@ -362,8 +362,8 @@
(defun float-radix (f) (defun float-radix (f)
"Returns (as an integer) the radix b of its floating-point "Returns (as an integer) the radix b of its floating-point
argument." argument."
(declare (float f)(ignorable f)) (number-dispatch ((f float))
2) ((float) 2)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment