PostgreSQL Source Code: numeric Struct Reference (original) (raw)

#include <[pgtypes_numeric.h](pgtypes%5F%5Fnumeric%5F8h%5Fsource.html)>

Data Fields
int ndigits
int weight
int rscale
int dscale
int sign
NumericDigit * buf
NumericDigit * digits

Detailed Description

Field Documentation

buf

digits

Definition at line 26 of file pgtypes_numeric.h.

Referenced by add_abs(), alloc_var(), cmp_abs(), ecpg_set_compat_sqlda(), ecpg_set_native_sqlda(), get_str_from_var(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_from_long(), PGTYPESnumeric_mul(), PGTYPESnumeric_to_decimal(), select_div_scale(), sqlda_common_total_size(), sub_abs(), and zero_var().

dscale

Definition at line 23 of file pgtypes_numeric.h.

Referenced by add_abs(), dectoasc(), ecpg_store_input(), numericvar_to_double(), PGTYPESnumeric_add(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_from_long(), PGTYPESnumeric_mul(), PGTYPESnumeric_sub(), PGTYPESnumeric_to_asc(), PGTYPESnumeric_to_decimal(), select_div_scale(), and sub_abs().

ndigits

Definition at line 20 of file pgtypes_numeric.h.

Referenced by add_abs(), alloc_var(), ecpg_set_compat_sqlda(), ecpg_set_native_sqlda(), get_str_from_var(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_mul(), PGTYPESnumeric_to_decimal(), select_div_scale(), sqlda_common_total_size(), sub_abs(), and zero_var().

rscale

sign

Definition at line 24 of file pgtypes_numeric.h.

Referenced by get_str_from_var(), main(), PGTYPESnumeric_add(), PGTYPESnumeric_cmp(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_from_long(), PGTYPESnumeric_mul(), PGTYPESnumeric_sub(), PGTYPESnumeric_to_decimal(), and zero_var().

weight

Definition at line 21 of file pgtypes_numeric.h.

Referenced by add_abs(), cmp_abs(), get_str_from_var(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_from_long(), PGTYPESnumeric_mul(), PGTYPESnumeric_to_decimal(), select_div_scale(), sub_abs(), and zero_var().


The documentation for this struct was generated from the following files: