Skip to content
Snippets Groups Projects
Commit a7569383 authored by wlott's avatar wlott
Browse files

The single-float/double-float case had been left out of truncate.

parent 28971fe7
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,11 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/numbers.lisp,v 1.18 1991/02/25 18:54:17 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/numbers.lisp,v 1.19 1991/11/14 09:32:11 wlott Exp $")
;;;
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/numbers.lisp,v 1.18 1991/02/25 18:54:17 ram Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/numbers.lisp,v 1.19 1991/11/14 09:32:11 wlott Exp $
;;;
;;; This file contains the definitions of most number functions.
;;;
......@@ -559,6 +559,8 @@
(truncate-float (dispatch-type number))))
((double-float (or single-float double-float))
(truncate-float double-float))
((single-float double-float)
(truncate-float double-float))
(((foreach fixnum bignum ratio) (foreach single-float double-float))
(truncate-float (dispatch-type divisor))))))
......
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