|
From: | Richard Stallman |
Subject: | Re: Strange division using mixed integers and floats |
Date: | Thu, 29 Apr 2004 09:31:13 -0400 |
Efficiency? Lisp is not a statically typed language. We don't know the type of the arguments until after they have been evaluated. All the args have been evaluated by the time the function is called. It just has to check their types and maybe convert the first arg to floating point. Also (/ 5 4 2.3) would no longer be equivalent to (/ (/ 5 4) 2.3). I don't think that is a big loss.
[Prev in Thread] | Current Thread | [Next in Thread] |