Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
How can I pass a signed integer to lisp ? When I do fixnum(-1) I see
0xFFFFFF (high byte absent) i.e. +16777215 in lisp. negfixnum(-1) is
ok, should I always check the sign and use appropriate function ?
> * In message <1642558629.20030503111416@...>
> * On the subject of "fixnum()"
> * Sent on Sat, 3 May 2003 11:14:16 +1000
> * Honorable Arseny Slobodjuck <ampy@...> writes:
> How can I pass a signed integer to lisp ? When I do fixnum(-1) I see
> 0xFFFFFF (high byte absent) i.e. +16777215 in lisp. negfixnum(-1) is
fixnum() should have been called posfixnum()
I think Bruno has a comment to that effect somewhere...
> ok, should I always check the sign and use appropriate function ?
macro sfixnum() in lispbibl.d is your friend.
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
When you talk to God, it's prayer; when He talks to you, it's schizophrenia.
Sign up for the SourceForge newsletter: