mini-type-conversions.red 290 B

123456789101112131415
  1. % MINI-TYPE-CONVERSIONS.RED
  2. on syslisp;
  3. syslsp procedure Sys2Int N; %. Convert word to Lisp number
  4. if SignedField(N, InfStartingBit - 1, InfBitLength + 1) eq N then N
  5. else Sys2FIXN N;
  6. syslsp procedure SYS2FIXN N;
  7. STDerror LIST(N, "too big for mini arith");
  8. off syslisp;
  9. End;