Branch: Tag:

1999-10-15

1999-10-15 21:08:44 by Fredrik Noring <noring@nocrew.org>

Fixed negation, subtraction, left shift and right shift.

Rev: src/bignum.c:1.3
Rev: src/bignum.h:1.4
Rev: src/operators.c:1.63

55:    return (--sp)->u.object;   }    + struct pike_string *string_from_bignum(struct object *o, int base) + { +  push_int(base); +  safe_apply(o, "digits", 1); +  +  if(sp[-1].type != T_STRING) +  error("Gmp.mpz string conversion failed.\n"); +  +  return (--sp)->u.string; + } +    void convert_svalue_to_bignum(struct svalue *s)   {    push_svalue(s);