diff options
author | Richard Henderson <rth@redhat.com> | 2002-09-04 09:24:24 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-09-04 09:24:24 -0700 |
commit | 4b67a2744180ace28c32242b2a19d5e460cb85b3 (patch) | |
tree | b08cf3dd22396dc00c208124fa79e09623e672ab /gcc/real.h | |
parent | 01abf342f82f9db810b16e139fd15986afc75168 (diff) | |
download | gcc-4b67a2744180ace28c32242b2a19d5e460cb85b3.tar.gz |
real.c (ereal_to_decimal): Add digits parameter.
* real.c (ereal_to_decimal): Add digits parameter.
* real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
* c-pretty-print.c (pp_c_real_literal): Update call.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* sched-vis.c (print_value): Likewise.
* config/arc/arc.c (arc_print_operand): Likewise.
* config/c4x/c4x.c (c4x_print_operand): Likewise.
* config/i370/i370.h (PRINT_OPERAND): Likewise.
* config/i386/i386.c (print_operand): Likewise.
* config/i960/i960.c (i960_print_operand): Likewise.
* config/ip2k/ip2k.c (asm_output_float): Likewise.
* config/m32r/m32r.c (m32r_print_operand): Likewise.
* config/m68hc11/m68hc11.c (print_operand): Likewise.
* config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
* config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
* config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* config/mips/mips.c (print_operand): Likewise.
* config/ns32k/ns32k.c (print_operand): Likewise.
* config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
* config/vax/vax.h (PRINT_OPERAND): Likewise.
* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
* f/target.h (ffetarget_print_real1, ffetarget_print_real2): Update
call to REAL_VALUE_TO_DECIMAL.
From-SVN: r56798
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/real.h b/gcc/real.h index 174d2c46abf..cf5fdf21aeb 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -154,7 +154,7 @@ extern void etartdouble PARAMS ((REAL_VALUE_TYPE, long *)); extern void etarldouble PARAMS ((REAL_VALUE_TYPE, long *)); extern void etardouble PARAMS ((REAL_VALUE_TYPE, long *)); extern long etarsingle PARAMS ((REAL_VALUE_TYPE)); -extern void ereal_to_decimal PARAMS ((REAL_VALUE_TYPE, char *)); +extern void ereal_to_decimal PARAMS ((REAL_VALUE_TYPE, char *, int)); extern int ereal_cmp PARAMS ((REAL_VALUE_TYPE, REAL_VALUE_TYPE)); extern int ereal_isneg PARAMS ((REAL_VALUE_TYPE)); extern REAL_VALUE_TYPE ereal_unto_float PARAMS ((long)); @@ -253,7 +253,7 @@ extern bool exact_real_truncate PARAMS ((enum machine_mode, #define REAL_VALUE_FROM_TARGET_SINGLE(f) (ereal_from_float (f)) /* Conversions to decimal ASCII string. */ -#define REAL_VALUE_TO_DECIMAL(r, fmt, s) (ereal_to_decimal (r, s)) +#define REAL_VALUE_TO_DECIMAL(r, s, dig) (ereal_to_decimal (r, s, dig)) /* **** End of software floating point emulator interface macros **** */ |