pub fn from_word(s: SWord) -> FTerm {
    if s >= rt_defs::MIN_NEG_SMALL && s <= rt_defs::MAX_POS_SMALL  {
      return FTerm::SmallInt(s as SWord)
    }
    FTerm::BigInt(Box::new(BigInt::from_isize(s).unwrap()))
  }
/// Given a word, determine if it fits into Smallint (word size - 4 bits)
/// otherwise form a BigInt
Given a word, determine if it fits into Smallint (word size - 4 bits)
otherwise form a BigInt
Given a word determine if it fits into Smallint ( word size - 4 bits ) otherwise form a BigInt
pub fn from_word(s: SWord) -> FTerm {
    if s >= rt_defs::MIN_NEG_SMALL && s <= rt_defs::MAX_POS_SMALL  {
      return FTerm::SmallInt(s as SWord)
    }
    FTerm::BigInt(Box::new(BigInt::from_isize(s).unwrap()))
  }
pub fn from_word ( s : SWord ) -> FTerm { if s >= rt_defs :: MIN_NEG_SMALL && s <= rt_defs :: MAX_POS_SMALL { return FTerm :: SmallInt ( s as SWord ) } FTerm :: BigInt ( Box :: new ( BigInt :: from_isize ( s ) . unwrap ( ) ) ) }
Given a word, determine if it fits into Smallint (word size - 4 bits)
otherwise form a BigInt
Given a word determine if it fits into Smallint ( word size - 4 bits ) otherwise form a BigInt
s
SWord