[Openmcl-devel] Infinity and NaN
lnp at healy.washington.dc.us
Mon Jul 19 11:35:12 CDT 2010
I'm having trouble defining variables that create infinities and NaNs.
I am using GSL
to do this; here for example is my definition
(cffi:foreign-funcall "gsl_nan" :double)))
If I put this form into the listener, it loads fine, and
1D+-0 #| not-a-number |#
However, if I put this definition into a file to compile it,
ASDF could not load gsll because FLOATING-POINT-INVALID-OPERATION detected
performing LOG on (1.0).
> Error: FLOATING-POINT-INVALID-OPERATION detected
> performing LOG on (1.0)
> While executing: CCL::%FP-ERROR-FROM-STATUS, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
I'm not sure where this is coming from, nor why taking the log
of 1.0 should be a problem.
"Version 1.6-dev-r13980M-trunk (LinuxX8664)"
More information about the Openmcl-devel