|
From: | Richard Stallman |
Subject: | Re: Strange division using mixed integers and floats |
Date: | Wed, 28 Apr 2004 06:13:14 -0400 |
But this behaviour is *highly* confusing: (/ 5 4 2.3) => 0.4347826086956522 Cf. (/ 5 4.0 2.3) => 0.5434782608695653 We could change the functions to convert the arguments to floating point at the start if any is floating point. Is there any reason not to do that?
[Prev in Thread] | Current Thread | [Next in Thread] |