Lisp HUG Maillist Archive

Porting Lijos to LispWorks

Greetings. I'm investigating the possible use of Lijos
(http://pointnclick.com/lijos/) in our application. This package is intended
for ACL but porting to other Common Lisp implementations is apparently not
terribly difficult. I'm willing to do the port but need some clarification.

One portability aspect is the use of constants representing certain
"non-numbers":

(setq +LIJOS-FLOAT-NAN+ EXCL::*NAN-SINGLE*)
(setq +LIJOS-FLOAT-INFINITY+ EXCL::*INFINITY-SINGLE*)
(setq +LIJOS-FLOAT-NEGATIVE-INFINITY+ EXCL::*NEGATIVE-INFINITY-SINGLE*)

(setq +LIJOS-DOUBLE-NAN+ EXCL::*NAN-DOUBLE*)
(setq +LIJOS-DOUBLE-INFINITY+ EXCL::*INFINITY-DOUBLE*)
(setq +LIJOS-DOUBLE-NEGATIVE-INFINITY+ EXCL::*NEGATIVE-INFINITY-DOUBLE*)

I'm looking for equivalent values in LispWorks 4.2.7 for the above ACL
objects, or at least some guidance here. Thanks much.

Cheers,

--
------------------------------------------
David E. Young
(format nil "~A@~A.~A" 'dyoung 'bloodhoundinc 'com)
http://www.bloodhoundinc.com
http://lisa.sourceforge.net

"For wisdom is more precious than rubies,
and nothing you desire can compare with her."
  -- Proverbs 8:11

"But all the world understands my language."
  -- Franz Joseph Haydn (1732-1809)


Re: Porting Lijos to LispWorks

Unable to parse email body. Email id is 1084

Re: Porting Lijos to LispWorks

* David Fox wrote:

> In LispWorks for Windows and LispWorks for Linux, all floats are
> double floats, so there are no distinct "single float" values.

Is this actually strictly true?  As far as I could work out there are
short-float (or maybe single-float) *arrays* in LWW and LWL but no
independent short-float objects.  But I'm not sure if my memory of
this is correct.

--tim


Re: Porting Lijos to LispWorks

Unable to parse email body. Email id is 1086

Updated at: 2020-12-10 09:00 UTC