[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: JPG at MIT-MC
- Subject: HAIPART
- From: JONL at MIT-MC (Jon L White)
- Date: Sat, 7 Feb 81 16:24:00 GMT
- Cc: (BUG LISP) at MIT-MC, KMP at MIT-MC
- Original-date: 7 FEB 1981 1124-EST
Hwenever, oh!, hwenever will this bug go away:
Date: 9 DEC 1980 0358-EST
From: JPG at MIT-MC (Jeffrey P. Golden)
HAIPART is documented to return a positive result.
(HAIPART -2 35.) however returns -2.
The bug seems to occur for all negative fixnum first arguments.
Fixed in source now, and patched in the past three lisps (versions
2071, 2057, 1997, and 1914). Problem was that if there aren't
enough bits in the fixnum to satisify the haipart request, then
the ABS of the input argument should be returned (of course, ABS
need only be called when the first arg is both negative and "too small").