pike.git/
src/
bignum.c
Branch:
Tag:
Non-build tags
All tags
No tags
2003-02-14
2003-02-14 19:19:57 by Martin Stjernholm <mast@lysator.liu.se>
7b42ce1429bb8cd4546d47f21ee838f4dfa4148e (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
7.4
Fixed stack bug in push_int64 for large negative integers.
Rev: src/bignum.c:1.28
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: bignum.c,v 1.
27
2002
/
10
/
11
01
:
39
:
28
nilsson
Exp $
+
|| $Id: bignum.c,v 1.
28
2003
/
02
/
14
19
:
19
:
57
mast
Exp $
*/ #include "global.h"
179:
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);
} }
-
+
}
/* This routines can be optimized quite drastically. */ #define BIGNUM_INT64_MASK 0xffffff