Module tidb_query_datatype::codec::mysql::decimal [−][src]
Structs
| Decimal |
|
Enums
| Res | |
| RoundMode |
Constants
| DECIMAL_STRUCT_SIZE |
|
| DEFAULT_DIV_FRAC_INCR | |
| DIGITS_PER_WORD | |
| DIG_2_BYTES | |
| DIG_MASK | |
| FRAC_MAX | |
| MAX_FRACTION | |
| NOT_FIXED_DEC | |
| WORD_BASE | |
| WORD_BUF_LEN | |
| WORD_MAX | |
| WORD_SIZE |
Traits
| DecimalDatumPayloadChunkEncoder | |
| DecimalDecoder | |
| DecimalEncoder |
Functions
| add |
|
| calc_sub_carry | calculate the carry for lhs - rhs, returns the carry and needed temporary results for beginning a subtraction. |
| count_leading_zeroes |
|
| count_trailing_zeroes |
|
| dec_encoded_len | Return the first encoded decimal’s length. |
| do_add | add lhs to rhs. |
| do_div_mod | |
| do_div_mod_impl | |
| do_mul |
|
| do_sub | subtract rhs from lhs when lhs.negative=rhs.negative. |
| first_non_digit | Get the first non-digit ascii char in |
| fix_word_cnt_err |
|
| max_decimal | Get the max possible decimal with giving precision and fraction digit count.
The |
| max_or_min_dec |
|
| read_word | |
| sub |
|
| sub2 |
|
Type Definitions
| SubTmp |