pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.c:1:
/* || 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: operators.c,v 1.
168
2003
/
11
/
12
19
:
01
:
29
mast Exp $
+
|| $Id: operators.c,v 1.
169
2008
/
01
/
24
17
:
48
:
17
mast Exp $
*/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
168
2003
/
11
/
12
19
:
01
:
29
mast Exp $");
+
RCSID("$Id: operators.c,v 1.
169
2008
/
01
/
24
17
:
48
:
17
mast Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h" #include "mapping.h" #include "array.h" #include "stralloc.h" #include "opcodes.h" #include "operators.h" #include "language.h" #include "pike_memory.h"
pike.git/src/operators.c:2901:
push_int(1); }else{ pop_stack(); push_int(0); } break; default: free_svalue(sp-1); sp[-1].type=T_INT;
+
sp[-1].subtype = NUMBER_NUMBER;
sp[-1].u.integer=0; } } /*! @decl int(0..1) `!(object|function arg) *! @decl int(1..1) `!(int(0..0) arg) *! @decl int(0..0) `!(mixed arg) *! *! Negation operator. *!