fons@cs.vu.NL (Fons Botman) (11/16/88)
L.S. The Lyric byte-compiler on my 1186 seems to generate wrong code for: (LAMBDA NIL (* ; "Edited 16-Nov-88 14:26 by Fons Botman") (CONSTANT (DIFFERENCE (TIMES 365 24 60 60) (IDATE " 1-Jan-01 00:00:00 GMT")))) The byte-compiler generates: 34: 157 45 4 110 GCONST -2115947648 40: 20 RETURN 41: 0 -X- TCOMPL generates: 34: 157 75 151 366 GCONST 2179019648 40: 20 RETURN 41: 0 -X- Which seems more correct. The Fons
"John_D._Sybalsky.AISNorth"@XEROX.COM (11/18/88)
The compiler bug related to IDATE and large negative constants in code is fixed in Medley 1.0. Um, FYI, TCOMPL -is- the byte compiler. I tried the example given below with both the byte compiler and the common-lisp compiler, and both worked fine (in Medley, which US customers should have received by now). - - - - - The byte-compiler generates: 34: 157 45 4 110 GCONST -2115947648 40: 20 RETURN 41: 0 -X- TCOMPL generates: 34: 157 75 151 366 GCONST 2179019648 40: 20 RETURN 41: 0 -X- Which seems more correct. - - - - -