[Openmcl-devel] Infinity and NaN

R. Matthew Emerson rme at clozure.com
Mon Jul 19 14:06:11 PDT 2010


On Jul 19, 2010, at 3:41 PM, Liam Healy wrote:

> These look identical to what I get from the foreign code,
> even down to the error I get when I try to describe them:
> 
> (describe ccl::double-float-nan)
> Float: 1D+-0 #| not-a-number |#
>> Error: FLOATING-POINT-INVALID-OPERATION detected
>> While executing: CCL::FIXNUM-DFLOAT-COMPARE, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 
> Is this the same problem you describe with the foreign code?

No, that isn't related to any potential problem with the handling of foreign fp exceptions.  It's just an effect of DESCRIBE trying to do operations on a NaN value.

http://ccl.clozure.com/ccl-documentation.html#floating-point





More information about the Openmcl-devel mailing list