
Go to the source code of this file.
Functions/Subroutines | |
| void | encode_decimal32 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *) |
| void | encode_decimal64 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *) |
| void | decode_decimal128 (const struct real_format *, REAL_VALUE_TYPE *, const long *) |
| void | decode_decimal32 (const struct real_format *, REAL_VALUE_TYPE *, const long *) |
| void | decode_decimal64 (const struct real_format *, REAL_VALUE_TYPE *, const long *) |
| void | encode_decimal128 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *) |
| int | decimal_do_compare (const REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *, int) |
| void | decimal_real_from_string (REAL_VALUE_TYPE *, const char *) |
| void | decimal_round_for_format (const struct real_format *, REAL_VALUE_TYPE *) |
| void | decimal_real_convert (REAL_VALUE_TYPE *, enum machine_mode, const REAL_VALUE_TYPE *) |
| void | decimal_real_to_decimal (char *, const REAL_VALUE_TYPE *, size_t, size_t, int) |
| void | decimal_do_fix_trunc (REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *) |
| bool | decimal_real_arithmetic (REAL_VALUE_TYPE *, enum tree_code, const REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *) |
| void | decimal_real_maxval (REAL_VALUE_TYPE *, int, enum machine_mode) |
| void | decimal_real_to_integer2 (HOST_WIDE_INT *, HOST_WIDE_INT *, const REAL_VALUE_TYPE *) |
| HOST_WIDE_INT | decimal_real_to_integer (const REAL_VALUE_TYPE *) |
| int decimal_do_compare | ( | const REAL_VALUE_TYPE * | , | |
| const REAL_VALUE_TYPE * | , | |||
| int | ||||
| ) |
Definition at line 341 of file dfp.c.
References a1, DEC_INIT_DECIMAL128, decContextDefault(), decimal128ToNumber(), decimal_from_binary(), decNumberCompare(), decNumberIsNaN, decNumberIsNegative, decNumberIsZero, and REAL_VALUE_TYPE.
Referenced by do_compare().
| void decimal_do_fix_trunc | ( | REAL_VALUE_TYPE * | , | |
| const REAL_VALUE_TYPE * | ||||
| ) |
Definition at line 535 of file dfp.c.
References DEC_INIT_DECIMAL128, DEC_ROUND_DOWN, decContextDefault(), decimal128ToNumber(), decimal_from_decnumber(), and decNumberToIntegralValue().
Referenced by decimal_real_arithmetic(), and do_fix_trunc().
| bool decimal_real_arithmetic | ( | REAL_VALUE_TYPE * | , | |
| enum | tree_code, | |||
| const REAL_VALUE_TYPE * | , | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
Definition at line 607 of file dfp.c.
References a, b, decimal128::bytes, decimal_do_add(), decimal_do_divide(), decimal_do_fix_trunc(), decimal_do_multiply(), decimal_from_binary(), gcc_unreachable, real_compare(), REAL_VALUE_TYPE, and rvc_nan.
Referenced by real_arithmetic().
| void decimal_real_convert | ( | REAL_VALUE_TYPE * | , | |
| enum | machine_mode, | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
Definition at line 429 of file dfp.c.
References real_format::b, decimal_from_binary(), decimal_to_binary(), and REAL_MODE_FORMAT.
Referenced by real_convert(), and round_for_format().
| void decimal_real_from_string | ( | REAL_VALUE_TYPE * | , | |
| const char * | ||||
| ) |
Definition at line 92 of file dfp.c.
References DEC_INIT_DECIMAL128, decContextDefault(), decimal_from_decnumber(), and decNumberFromString().
Referenced by decimal_from_binary(), decimal_real_maxval(), and real_from_string3().
| void decimal_real_maxval | ( | REAL_VALUE_TYPE * | , | |
| int | , | |||
| enum | machine_mode | |||
| ) |
Definition at line 694 of file dfp.c.
References decimal_real_from_string(), gcc_unreachable, and max.
Referenced by real_maxval().
| HOST_WIDE_INT decimal_real_to_integer | ( | const REAL_VALUE_TYPE * | ) |
Definition at line 552 of file dfp.c.
References DEC_INIT_DECIMAL128, DEC_ROUND_DOWN, decContextDefault(), decimal128ToNumber(), decNumberRescale(), decNumberToIntegralValue(), decNumberToString(), decNumberZero(), real_from_string(), real_to_integer(), and REAL_VALUE_TYPE.
Referenced by real_to_integer().
| void decimal_real_to_integer2 | ( | HOST_WIDE_INT * | , | |
| HOST_WIDE_INT * | , | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
Definition at line 578 of file dfp.c.
References DEC_INIT_DECIMAL128, DEC_ROUND_DOWN, decContextDefault(), decimal128ToNumber(), decNumberRescale(), decNumberToIntegralValue(), decNumberToString(), decNumberZero(), real_from_string(), real_to_integer2(), and REAL_VALUE_TYPE.
Referenced by real_to_integer2().
| void decimal_round_for_format | ( | const struct real_format * | , | |
| REAL_VALUE_TYPE * | ||||
| ) |
Definition at line 383 of file dfp.c.
References DEC_INIT_DECIMAL128, DEC_INIT_DECIMAL32, DEC_INIT_DECIMAL64, decContextDefault(), decimal128ToNumber(), decimal32FromNumber(), decimal32ToNumber(), decimal64FromNumber(), decimal64ToNumber(), decimal_double_format, decimal_from_decnumber(), decimal_quad_format, decimal_single_format, gcc_unreachable, and rvc_normal.
Referenced by round_for_format().
| void decode_decimal128 | ( | const struct real_format * | , | |
| REAL_VALUE_TYPE * | , | |||
| const long * | ||||
| ) |
| void decode_decimal32 | ( | const struct real_format * | , | |
| REAL_VALUE_TYPE * | , | |||
| const long * | ||||
| ) |
| void decode_decimal64 | ( | const struct real_format * | , | |
| REAL_VALUE_TYPE * | , | |||
| const long * | ||||
| ) |
| void encode_decimal128 | ( | const struct real_format * | fmt, | |
| long * | , | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
| void encode_decimal32 | ( | const struct real_format * | fmt, | |
| long * | , | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
| void encode_decimal64 | ( | const struct real_format * | fmt, | |
| long * | , | |||
| const REAL_VALUE_TYPE * | ||||
| ) |
1.5.6