Branch: Tag:

2003-02-14

2003-02-14 19:19:54 by Martin Stjernholm <mast@lysator.liu.se>

Fixed stack bug in push_int64 for large negative integers.

Rev: src/bignum.c:1.22

168:    apply_svalue(&auto_bignum_program, 2);       -  if(neg) +  if(neg) {    apply_low(sp[-1].u.object,FIND_LFUN(sp[-1].u.object->prog,LFUN_COMPL),0); -  +  stack_pop_n_elems_keep_top(1);    }    } -  + }         PMOD_EXPORT int int64_from_bignum(INT64 *i, struct object *bignum)