forked from Imagelibrary/binutils-gdb
2000-12-15 Ben Elliston <bje@redhat.com>
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
This commit is contained in:
@@ -402,10 +402,17 @@ extern const sim_fpu sim_fpu_max64;
|
||||
|
||||
typedef void sim_fpu_print_func (void *, char *, ...);
|
||||
|
||||
/* Print a sim_fpu with full precision. */
|
||||
INLINE_SIM_FPU (void) sim_fpu_print_fpu (const sim_fpu *f,
|
||||
sim_fpu_print_func *print,
|
||||
void *arg);
|
||||
|
||||
/* Print a sim_fpu with `n' trailing digits. */
|
||||
INLINE_SIM_FPU (void) sim_fpu_printn_fpu (const sim_fpu *f,
|
||||
sim_fpu_print_func *print,
|
||||
int digits,
|
||||
void *arg);
|
||||
|
||||
INLINE_SIM_FPU (void) sim_fpu_print_status (int status,
|
||||
sim_fpu_print_func *print,
|
||||
void *arg);
|
||||
|
||||
Reference in New Issue
Block a user