CUBRID Engine
latest
|
Go to the source code of this file.
Macros | |
#define | _reent _Jv_reent |
#define | _Bigint _Jv_Bigint |
#define | _REENT_CHECK_MP(x) |
#define | _REENT_MP_FREELIST(x) ((x)->_freelist) |
#define | _REENT_MP_P5S(x) ((x)->_p5s) |
#define | d0 word0(d) |
#define | d1 word1(d) |
Typedefs | |
typedef unsigned long | __ULong |
typedef long | __Long |
Functions | |
static void * | mprec_calloc (void *ignore, size_t x1, size_t x2) |
_Bigint * | _DEFUN (Balloc,(ptr, k), struct _reent *ptr _AND int k) |
void | _DEFUN (Bfree,(ptr, v), struct _reent *ptr _AND _Bigint *v) |
_Bigint * | _DEFUN (multadd,(ptr, b, m, a), struct _reent *ptr _AND _Bigint *b _AND int m _AND int a) |
int | _DEFUN (hi0bits,(x), __ULong x) |
int | _DEFUN (lo0bits,(y), __ULong *y) |
_Bigint * | _DEFUN (i2b,(ptr, i), struct _reent *ptr _AND int i) |
_Bigint * | _DEFUN (mult,(ptr, a, b), struct _reent *ptr _AND _Bigint *a _AND _Bigint *b) |
_Bigint * | _DEFUN (pow5mult,(ptr, b, k), struct _reent *ptr _AND _Bigint *b _AND int k) |
_Bigint * | _DEFUN (lshift,(ptr, b, k), struct _reent *ptr _AND _Bigint *b _AND int k) |
int | _DEFUN (cmp,(a, b), _Bigint *a _AND _Bigint *b) |
_Bigint * | _DEFUN (diff,(ptr, a, b), struct _reent *ptr _AND _Bigint *a _AND _Bigint *b) |
_Bigint * | _DEFUN (d2b,(ptr, _d, e, bits), struct _reent *ptr _AND double _d _AND int *e _AND int *bits) |
Variables | |
_CONST double | tens [] |
_CONST double | bigtens [] = { 1e16, 1e32, 1e64, 1e128, 1e256 } |
_CONST double | tinytens [] = { 1e-16, 1e-32, 1e-64, 1e-128, 1e-256 } |
#define _Bigint _Jv_Bigint |
Definition at line 94 of file mprec.c.
Referenced by _DEFUN(), and mprec_calloc().
#define _REENT_MP_FREELIST | ( | x | ) | ((x)->_freelist) |
#define _REENT_MP_P5S | ( | x | ) | ((x)->_p5s) |
#define d0 word0(d) |
#define d1 word1(d) |
Referenced by _DEFUN(), base64_partition_into_chunk(), boot_backup(), boot_check_db_consistency(), compare_component_domains(), db_date_diff(), db_log_dbval(), db_mod_double(), db_mod_monetary(), db_mod_numeric(), db_power_dbval(), db_round_dbval(), db_time_diff(), db_trunc_dbval(), db_width_bucket(), ehash_compare_key(), mr_cmpval_date(), mr_cmpval_double(), mr_data_cmpdisk_date(), mr_data_cmpdisk_double(), mr_index_cmpdisk_date(), mr_index_cmpdisk_double(), pt_evaluate_db_value_expr(), qdata_add_double_to_dbval(), qdata_add_monetary_to_dbval(), qdata_add_numeric_to_monetary(), qdata_interpolation_function_values(), qfile_compare_all_sort_record(), qfile_compare_partial_sort_record(), qfile_compare_with_interpolation_domain(), tp_domain_find_set(), tp_domain_match_internal(), tp_is_domain_cached(), and tp_value_compare_with_error().
Definition at line 112 of file mprec.c.
References _Bigint, _REENT_CHECK_MP, _REENT_MP_FREELIST, assert, mprec_calloc(), NULL, and rv.
Referenced by _DEFUN().
Definition at line 160 of file mprec.c.
References _Bigint, _REENT_CHECK_MP, and _REENT_MP_FREELIST.
|
static |
_CONST double bigtens[] = { 1e16, 1e32, 1e64, 1e128, 1e256 } |
_CONST double tens[] |