[Openmcl-devel] Probably a stupid question...
duncan at robotcat.demon.co.uk
Sat Aug 6 09:48:07 EDT 2005
On Saturday, August 6, 2005, at 02:11 pm, Duncan Rose wrote:
-->8-- snipped -->8--
> assuming the answer is 'yes' could anybody enlighten me as to why this
> is? It appears to violate the description in the hyperspec, namely:
> "These functions divide number by divisor, returning a quotient and
> remainder, such that
(= (multiple-value-bind (quotient remainder)
(+ quotient remainder))
=> T, so even though the quotient isn't of 'the greatest integral
magnitude not greater than the mathematical quotient' (not to the human
reader at least) I think I was overlooking the usual issues of internal
floating point representation (a bad habit I really need to get out of).
CL-USER> 1234561.981 => 1234562.0
> LispWorks returns the same results as OpenMCL for me so I presume I'm
> just overlooking something...
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel