163 r->f =
a->f - (
t *
b->f);
203 r->f =
a->f *
pow(2.,
n.f);
212 r->f =
a->f /
pow(2.,
n.f);
227 r->f =
pow(
a->f, 1./
b->f);
293 r->f =
a->f * (1. +
b->f/100.);
298 r->f =
a->f * (1. -
b->f/100.);
303 r->f =
a->f *
b->f / 100.;
311 r->f =
a->f * 100. /
b->f;
void apply_int_mask(calc_number_t *a)
double logic_int2dbl(calc_number_t *a)
__int64 logic_dbl2int(calc_number_t *a)
double pow(double x, double y)
GLdouble GLdouble GLdouble r
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
_Check_return_ __MINGW_NOTHROW _CRTIMP int __cdecl _isnan(_In_ double)
_Check_return_ __MINGW_NOTHROW _CRTIMP int __cdecl _finite(_In_ double)
_Check_return_ _CRTIMP double __cdecl modf(_In_ double x, _Out_ double *y)
static unsigned int number
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
static unsigned __int64 next
void run_operator(calc_node_t *result, calc_node_t *a, calc_node_t *b, unsigned int operation)
void start_rpn_engine(void)
static void rpn_mod_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_div_p(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_sub_p(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_sub_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_pow_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static calc_node_t * pop(void)
static void rpn_sqr_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_mod_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static const calc_operator_t operator_list[]
static void rpn_sub_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_shr_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
void exec_change_infix(void)
static void rpn_mul_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_mul_p(calc_number_t *r, calc_number_t *a, calc_number_t *b)
void(* operator_call)(calc_number_t *, calc_number_t *, calc_number_t *)
static void rpn_or_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_mul_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_shr_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_shl_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_xor_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_and_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_div_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_add_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_shl_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
int eval_parent_count(void)
static void rpn_add_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_xor_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
int exec_infix2postfix(calc_number_t *number, unsigned int func)
static void rpn_div_f(calc_number_t *r, calc_number_t *a, calc_number_t *b)
void exec_closeparent(calc_number_t *number)
static int is_stack_empty(void)
static void rpn_add_p(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void rpn_and_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
static void evalStack(calc_number_t *number)
static stack_node_t * stack
void stop_rpn_engine(void)
static void push(calc_node_t *op)
static void rpn_or_i(calc_number_t *r, calc_number_t *a, calc_number_t *b)
unsigned int prev_operator
unsigned int last_operator