[movitz-cvs] CVS update: movitz/losp/muerte/integers.lisp

Update of /project/movitz/cvsroot/movitz/losp/muerte In directory common-lisp.net:/tmp/cvs-serv18594 Modified Files: integers.lisp Log Message: (truncate x) should return x and 0. Date: Thu Apr 15 09:10:37 2004 Author: ffjeld Index: movitz/losp/muerte/integers.lisp diff -u movitz/losp/muerte/integers.lisp:1.5 movitz/losp/muerte/integers.lisp:1.6 --- movitz/losp/muerte/integers.lisp:1.5 Thu Apr 15 09:08:50 2004 +++ movitz/losp/muerte/integers.lisp Thu Apr 15 09:10:37 2004 @@ -9,7 +9,7 @@ ;;;; Created at: Wed Nov 8 18:44:57 2000 ;;;; Distribution: See the accompanying file COPYING. ;;;; -;;;; $Id: integers.lisp,v 1.5 2004/04/15 13:08:50 ffjeld Exp $ +;;;; $Id: integers.lisp,v 1.6 2004/04/15 13:10:37 ffjeld Exp $ ;;;; ;;;;------------------------------------------------------------------ @@ -741,7 +741,7 @@ (defun truncate (number &optional (divisor 1)) (numargs-case (1 (number) - number) + (values number 0)) (t (number divisor) (with-inline-assembly (:returns :multiple-values) (:compile-form (:result-mode :eax) number)
participants (1)
-
Frode Vatvedt Fjeld