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.
167
2002/12/
12
17
:
19
:
37
nilsson
Exp $
+
|| $Id: operators.c,v 1.
168
2002/12/
30
12:
46
:
50
grubba
Exp $
*/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
167
2002/12/
12
17
:
19
:
37
nilsson
Exp $");
+
RCSID("$Id: operators.c,v 1.
168
2002/12/
30
12:
46
:
50
grubba
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:1638:
} } /*! @decl mixed `|(mixed arg1) *! @decl mixed `|(object arg1, mixed arg2) *! @decl mixed `|(mixed arg1, object arg2) *! @decl int `|(int arg1, int arg2) *! @decl mapping `|(mapping arg1, mapping arg2) *! @decl multiset `|(multiset arg1, multiset arg2) *! @decl array `|(array arg1, array arg2)
-
*! @decl string `|(string arg1,
atring
arg2)
+
*! @decl string `|(string arg1,
string
arg2)
*! @decl type `|(program|type arg1, program|type arg2) *! @decl mixed `|(mixed arg1, mixed arg2, mixed ... extras) *! *! Bitwise or/join operator. *! *! @returns *! If there's a single argument, that argument will be returned. *! *! If there are more than two arguments, the result will be: *! @code{`|(`|(@[arg1], @[arg2]), @@@[extras])@}.
pike.git/src/operators.c:1847:
} } /*! @decl mixed `^(mixed arg1) *! @decl mixed `^(object arg1, mixed arg2) *! @decl mixed `^(mixed arg1, object arg2) *! @decl int `^(int arg1, int arg2) *! @decl mapping `^(mapping arg1, mapping arg2) *! @decl multiset `^(multiset arg1, multiset arg2) *! @decl array `^(array arg1, array arg2)
-
*! @decl string `^(string arg1,
atring
arg2)
+
*! @decl string `^(string arg1,
string
arg2)
*! @decl type `^(program|type arg1, program|type arg2) *! @decl mixed `^(mixed arg1, mixed arg2, mixed ... extras) *! *! Exclusive or operator. *! *! @returns *! If there's a single argument, that argument will be returned. *! *! If there are more than two arguments, the result will be: *! @code{`^(`^(@[arg1], @[arg2]), @@@[extras])@}.
pike.git/src/operators.c:2608:
PIKE_ERROR("`/", "Bad argument 1.\n", sp, 2); } } /*! @decl mixed `/(object arg1, mixed arg2) *! @decl mixed `/(mixed arg1, object arg2) *! @decl array(string) `/(string arg1, int arg2) *! @decl array(string) `/(string arg1, float arg2) *! @decl array(array) `/(array arg1, int arg2) *! @decl array(array) `/(array arg1, float arg2)
-
*! @decl array(string) `/(string arg1,
atring
arg2)
+
*! @decl array(string) `/(string arg1,
string
arg2)
*! @decl array(array) `/(array arg1, array arg2) *! @decl float `/(float arg1, int|float arg2) *! @decl float `/(int arg1, float arg2) *! @decl int `/(int arg1, int arg2) *! @decl mixed `/(mixed arg1, mixed arg2, mixed ... extras) *! *! Division operator. *! *! @returns *! If there are more than two arguments, the result will be