ryan@lucid.com (Paul Ryan) (11/09/90)
THIS IS REGARDING: From: kadie@cs.uiuc.edu (Carl M. Kadie) Newsgroups: comp.lang.lisp Subject: bit operator bug in Lucid/Sun lisp Date: 4 Nov 90 19:35:45 GMT Organization: University of Illinois at Urbana Arggg!! It took me a day to track this bug down. -------------------------- lucid> (bit-ior #*0110000001100101 #*0001100000000010) #*0000000000000000 -------------------------- It seems that some of the other bit operators are also buggy on "long" arguments. The compiler is Lucid/Sun 3.0.0. I hope version 4.0 fixes this. In the mean time, here is a patch that also fixes the Lucid's "(make-random-state t)" bug: ;;;;;;;;;;;;; These problems have been fixed and there are patches available. To get these patches please contact SUN customer support. TEL :: 1-800-USA-4-SUN NET ADDR:: sun!hotline (or) hotline@sun.com Thanks, PAUL R. RYAN Scientist, Customer Support LUCID Inc. 707 Laurel Street Menlo Park, CA 94025. TEL :: (415) 329-8400 X 5572 FAX :: (415) 329-8480 -- Paul R. Ryan, Lucid Scientist, Customer Support Phone#: (415) 329-8400, x5572; Fax#: 415-329-8480 (ARPA): ryan@LUCID.com (UUCP): ...!sun!edsel!ryan
ralph@laas.fr (Ralph P. Sobek) (11/13/90)
In article <2316@heavens-gate.lucid.com> ryan@lucid.com (Paul Ryan) writes: | THIS IS REGARDING: | | From: kadie@cs.uiuc.edu (Carl M. Kadie) | Subject: bit operator bug in Lucid/Sun lisp | Date: 4 Nov 90 19:35:45 GMT | Organization: University of Illinois at Urbana | | Arggg!! It took me a day to track this bug down. | | -------------------------- | lucid> (bit-ior #*0110000001100101 #*0001100000000010) | #*0000000000000000 | -------------------------- For those who are interested, on a SPARC with Lucid 3.0.2 the reult is: #<Simple-Bit-Vector 16 963E46> which is ALL zeros. -- Ralph P. Sobek Disclaimer: The above ruminations are my own. ralph@laas.fr Addresses are ordered by importance. ralph@laas.uucp, or ...!uunet!laas!ralph If all else fails, try: sobek@eclair.Berkeley.EDU =============================================================================== Reliable software should kill people reliably! -Andy Mickel, Pascal News #13,78