/* Decimal floating point support for GDB.
- Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2007-2017 Free Software Foundation, Inc.
This file is part of GDB.
#ifndef DFP_H
#define DFP_H
+#include "doublest.h" /* For DOUBLEST. */
+#include "expression.h" /* For enum exp_opcode. */
+
/* When using decimal128, this is the maximum string length + 1
* (value comes from libdecnumber's DECIMAL128_String constant). */
#define MAX_DECIMAL_STRING 43
extern void decimal_to_string (const gdb_byte *, int, enum bfd_endian, char *);
-extern int decimal_from_string (gdb_byte *, int, enum bfd_endian, const char *);
+extern int decimal_from_string (gdb_byte *, int, enum bfd_endian,
+ const char *);
extern void decimal_from_integral (struct value *from, gdb_byte *to,
int len, enum bfd_endian byte_order);
extern void decimal_from_floating (struct value *from, gdb_byte *to,