#include <string.h>
#include "tools.h"
#include "symmath.h"
Go to the source code of this file.
Classes | |
struct | op_int_int_prop |
struct | op_int_prop |
class | sym_bool_token_rec |
class | sym_int_token_rec |
Defines | |
#define | ATOM_SYM_INT MAGICD("SMA\x00") |
#define | ATOM_SYM_INT_SYMBOL MAGICD("SMA\x01") |
#define | ATOM_SYM_INT_CONST MAGICD("SMA\x02") |
#define | ATOM_SYM_BOOL MAGICD("SMA\x10") |
#define | ATOM_SYM_BOOL_SYMBOL MAGICD("SMA\x11") |
#define | ATOM_SYM_BOOL_INTCMP MAGICD("SMA\x12") |
Functions | |
UINT | get_op_prec (b_op bop, b_op **op_prec) |
Variables | |
b_op | copp_mul [] |
b_op | copp_add [] |
b_op | copp_bin [] |
b_op * | c_op_prec [] |
op_int_prop | op_neutrals [NUM_VALID_BOPS] |
bool | op_commutative [NUM_VALID_BOPS] |
op_int_int_prop | op_destructive [NUM_VALID_BOPS] |
|
Definition at line 30 of file symmath.cc. Referenced by sym_bool::object_id(). |
|
Definition at line 32 of file symmath.cc. Referenced by sym_bool_intcmp::object_id(). |
|
Definition at line 31 of file symmath.cc. Referenced by sym_bool_symbol::object_id(). |
|
Definition at line 26 of file symmath.cc. Referenced by sym_int::b_operate(), sym_int::object_id(), and sym_int::set(). |
|
Definition at line 28 of file symmath.cc. |
|
Definition at line 27 of file symmath.cc. Referenced by sym_int_symbol::object_id(). |
|
Definition at line 63 of file symmath.cc. References b_invalid, b_op, and UINT. Referenced by sym_int::nstrfy(). |
|
Initial value: Definition at line 56 of file symmath.cc. |
|
Initial value: Definition at line 43 of file symmath.cc. |
|
Initial value: Definition at line 49 of file symmath.cc. |
|
Initial value: Definition at line 36 of file symmath.cc. |
|
Initial value: { true, false, false, true, false, true, true, true } Definition at line 238 of file symmath.cc. Referenced by sym_int::simplify(). |
|
Initial value: { {true, 0, 0}, {false}, {true, 1, 0}, {false}, {false}, {true, 0, 0}, {true, 0xffffffff, 0xffffffff}, {false} } Definition at line 257 of file symmath.cc. Referenced by sym_int::simplify_reduce_destructive(). |
|
Initial value: { {true, 1}, {true, 1}, {false}, {true, 0}, {true, 0}, {true, 0xffffffff}, {true, 0}, {true, 0} } Definition at line 219 of file symmath.cc. Referenced by sym_int::simplify_reduce_neutral(). |