Artifact e9e4ac71952afe4b9cba34ef526253f31ecb5ec9d88bc7b15830d43c20ee01e9:


% MINI-TYPE-CONVERSIONS.RED

on syslisp;

syslsp procedure Sys2Int N;		%. Convert word to Lisp number
    if SignedField(N, InfStartingBit - 1, InfBitLength + 1) eq N then N
    else Sys2FIXN N;

syslsp procedure SYS2FIXN N;
 STDerror LIST(N, "too big for mini arith");

off syslisp;

End;


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]