ReactOS
0.4.12-dev-714-gfaac916
|
#include <stdarg.h>
#include <windef.h>
#include <winuser.h>
#include <tchar.h>
#include <math.h>
#include <float.h>
#include <malloc.h>
#include <htmlhelp.h>
#include "resource.h"
Go to the source code of this file.
Classes | |
union | calc_number_t |
struct | calc_node_t |
struct | sequence_t |
struct | statistic_t |
struct | calc_t |
Macros | |
#define | WM_CLOSE_STATS (WM_APP+1) |
#define | WM_HANDLE_CLIPBOARD (WM_APP+2) |
#define | WM_INSERT_STAT (WM_APP+3) |
#define | WM_LOAD_STAT (WM_APP+4) |
#define | WM_START_CONV (WM_APP+5) |
#define | WM_HANDLE_FROM (WM_APP+6) |
#define | WM_HANDLE_TO (WM_APP+7) |
#define | LOCAL_EXP_SIZE 10000L |
#define | IDC_STATIC ((DWORD)-1) |
#define | MAX_CALC_SIZE 256 |
#define | SIZEOF(_ar) (sizeof(_ar)/sizeof(_ar[1])) |
#define | CALC_E 2.7182818284590452354 |
#define | CALC_PI_2 1.57079632679489661923 |
#define | CALC_PI 3.14159265358979323846 |
#define | CALC_3_PI_2 4.71238898038468985769 |
#define | CALC_2_PI 6.283185307179586476925 |
#define | MODIFIER_INV 0x01 |
#define | MODIFIER_HYP 0x02 |
#define | NO_CHAIN 0x04 |
Variables | |
calc_t | calc |
anonymous enum |
Definition at line 52 of file calc.h.
anonymous enum |
Enumerator | |
---|---|
CALC_LAYOUT_SCIENTIFIC | |
CALC_LAYOUT_STANDARD | |
CALC_LAYOUT_CONVERSION |
Definition at line 83 of file sndrec32.cpp.
Referenced by MenuCommand().
void apply_int_mask | ( | calc_number_t * | a | ) |
Definition at line 3 of file fun_mpfr.c.
Referenced by convert_real_integer(), DlgMainProc(), run_operator(), and upload_stat_number().
Definition at line 586 of file convert.c.
Referenced by ConvInit(), and DlgMainProc().
Definition at line 92 of file utl.c.
Referenced by update_radio().
void convert_text2number_2 | ( | calc_number_t * | a | ) |
Definition at line 615 of file convert.c.
Referenced by DlgMainProc().
Definition at line 432 of file rpn.c.
Referenced by update_parent_display().
void exec_closeparent | ( | calc_number_t * | ) |
Definition at line 411 of file rpn.c.
Referenced by run_rpar().
int exec_infix2postfix | ( | calc_number_t * | , |
unsigned int | |||
) |
Definition at line 445 of file rpn.c.
Referenced by evalStack(), exec_closeparent(), and run_canc().
__int64 logic_dbl2int | ( | calc_number_t * | a | ) |
Definition at line 240 of file function.c.
Referenced by rpn_and_f(), rpn_not(), rpn_or_f(), rpn_xor_f(), and run_operator().
double logic_int2dbl | ( | calc_number_t * | a | ) |
void prepare_rpn_result_2 | ( | calc_number_t * | rpn, |
TCHAR * | buffer, | ||
int | size, | ||
int | base | ||
) |
Definition at line 3 of file utl.c.
Referenced by prepare_rpn_result().
void rpn_2pi | ( | calc_number_t * | c | ) |
Definition at line 274 of file fun_mpfr.c.
void rpn_acos | ( | calc_number_t * | c | ) |
Definition at line 181 of file fun_mpfr.c.
void rpn_acosh | ( | calc_number_t * | c | ) |
Definition at line 213 of file fun_mpfr.c.
void rpn_alloc | ( | calc_number_t * | c | ) |
Definition at line 482 of file fun_mpfr.c.
Referenced by exec_closeparent(), and run_dat_sta().
void rpn_asin | ( | calc_number_t * | c | ) |
Definition at line 176 of file fun_mpfr.c.
void rpn_asinh | ( | calc_number_t * | c | ) |
Definition at line 208 of file fun_mpfr.c.
void rpn_atan | ( | calc_number_t * | c | ) |
Definition at line 186 of file fun_mpfr.c.
void rpn_atanh | ( | calc_number_t * | c | ) |
Definition at line 218 of file fun_mpfr.c.
void rpn_ave | ( | calc_number_t * | c | ) |
Definition at line 344 of file fun_mpfr.c.
void rpn_cbrt | ( | calc_number_t * | c | ) |
Definition at line 303 of file fun_mpfr.c.
void rpn_copy | ( | calc_number_t * | dst, |
calc_number_t * | src | ||
) |
Definition at line 472 of file fun_mpfr.c.
Referenced by convert_text2number(), DlgMainProc(), evalStack(), exec_closeparent(), exec_infix2postfix(), run_dat_sta(), run_ms(), and run_mw().
void rpn_cos | ( | calc_number_t * | c | ) |
Definition at line 130 of file fun_mpfr.c.
void rpn_cosh | ( | calc_number_t * | c | ) |
Definition at line 197 of file fun_mpfr.c.
void rpn_dec2dms | ( | calc_number_t * | c | ) |
Definition at line 440 of file fun_mpfr.c.
void rpn_dms2dec | ( | calc_number_t * | c | ) |
Definition at line 413 of file fun_mpfr.c.
void rpn_exp | ( | calc_number_t * | c | ) |
Definition at line 309 of file fun_mpfr.c.
void rpn_exp10 | ( | calc_number_t * | c | ) |
Definition at line 315 of file fun_mpfr.c.
void rpn_exp2 | ( | calc_number_t * | c | ) |
Definition at line 285 of file fun_mpfr.c.
void rpn_exp3 | ( | calc_number_t * | c | ) |
Definition at line 291 of file fun_mpfr.c.
void rpn_fact | ( | calc_number_t * | c | ) |
Definition at line 242 of file fun_mpfr.c.
void rpn_frac | ( | calc_number_t * | c | ) |
Definition at line 229 of file fun_mpfr.c.
void rpn_free | ( | calc_number_t * | c | ) |
Definition at line 487 of file fun_mpfr.c.
Referenced by clean_stat_list(), delete_stat_item(), and exec_closeparent().
void rpn_int | ( | calc_number_t * | c | ) |
Definition at line 224 of file fun_mpfr.c.
Referenced by rpn_fact().
int rpn_is_zero | ( | calc_number_t * | c | ) |
Definition at line 477 of file fun_mpfr.c.
Referenced by prepare_rpn_result_2(), rpn_sin(), run_ms(), and run_mw().
void rpn_ln | ( | calc_number_t * | c | ) |
Definition at line 321 of file fun_mpfr.c.
void rpn_log | ( | calc_number_t * | c | ) |
Definition at line 327 of file fun_mpfr.c.
void rpn_not | ( | calc_number_t * | c | ) |
Definition at line 258 of file fun_mpfr.c.
void rpn_pi | ( | calc_number_t * | c | ) |
Definition at line 269 of file fun_mpfr.c.
void rpn_reci | ( | calc_number_t * | c | ) |
Definition at line 234 of file fun_mpfr.c.
void rpn_s | ( | calc_number_t * | c | ) |
Definition at line 403 of file fun_mpfr.c.
void rpn_s_m1 | ( | calc_number_t * | c | ) |
Definition at line 408 of file fun_mpfr.c.
void rpn_sign | ( | calc_number_t * | c | ) |
void rpn_sin | ( | calc_number_t * | c | ) |
Definition at line 106 of file fun_mpfr.c.
void rpn_sinh | ( | calc_number_t * | c | ) |
Definition at line 192 of file fun_mpfr.c.
void rpn_sqrt | ( | calc_number_t * | c | ) |
Definition at line 297 of file fun_mpfr.c.
void rpn_sum | ( | calc_number_t * | c | ) |
Definition at line 358 of file fun_mpfr.c.
void rpn_tan | ( | calc_number_t * | c | ) |
Definition at line 154 of file fun_mpfr.c.
void rpn_tanh | ( | calc_number_t * | c | ) |
Definition at line 202 of file fun_mpfr.c.
BOOL rpn_validate_result | ( | calc_number_t * | c | ) |
void rpn_zero | ( | calc_number_t * | c | ) |
Definition at line 467 of file fun_mpfr.c.
Referenced by convert_text2number(), DlgMainProc(), prepare_rpn_result(), rpn_cos(), rpn_sin(), rpn_tan(), run_canc(), and start_rpn_engine().
void run_operator | ( | calc_node_t * | result, |
calc_node_t * | a, | ||
calc_node_t * | b, | ||
unsigned int | operation | ||
) |
Definition at line 288 of file rpn.c.
Referenced by evalStack(), exec_closeparent(), run_mm(), and run_mp().
Definition at line 454 of file rpn.c.
Referenced by _tWinMain().
double validate_angle2rad | ( | calc_number_t * | c | ) |
Definition at line 58 of file fun_mpfr.c.
calc_t calc |
Definition at line 226 of file winmain.c.
Referenced by _tWinMain(), apply_int_mask(), build_operand(), check_csum(), clean_stat_list(), ConvAdjust(), convert_real_integer(), convert_text2number(), convert_text2number_2(), ConvExecute(), ConvInit(), delete_stat_item(), display_rpn_result(), DlgMainProc(), DlgStatProc(), enable_allowed_controls(), evalStack(), exec_closeparent(), exec_infix2postfix(), flush_postfix(), handle_context_menu(), handle_copy_command(), handle_sequence_input(), load_config(), logic_dbl2int(), post_key_press(), prepare_rpn_result(), prepare_rpn_result_2(), process_vk_key(), ReadConversion(), rpn_acos(), rpn_acosh(), rpn_asin(), rpn_asinh(), rpn_atan(), rpn_atanh(), rpn_ave(), rpn_cbrt(), rpn_cos(), rpn_cosh(), rpn_div_f(), rpn_div_i(), rpn_div_p(), rpn_exp(), rpn_exp10(), rpn_exp2(), rpn_exp3(), rpn_fact(), rpn_frac(), rpn_int(), rpn_ln(), rpn_log(), rpn_mod_f(), rpn_mod_i(), rpn_not(), rpn_pow_f(), rpn_reci(), rpn_s_ex(), rpn_shl_f(), rpn_shr_f(), rpn_sign(), rpn_sin(), rpn_sinh(), rpn_sqr_f(), rpn_sqrt(), rpn_sum(), rpn_tan(), rpn_tanh(), run_canc(), run_dat_sta(), run_fe(), run_mm(), run_mp(), run_ms(), run_mw(), run_operator(), save_config(), start_rpn_engine(), stat_sum(), stop_rpn_engine(), SubclassButtonProc(), update_lcd_display(), update_memory_flag(), update_menu(), update_radio(), upload_stat_number(), validate_angle2rad(), and validate_rad2angle().