summaryrefslogtreecommitdiff
path: root/include/floatformat.h
diff options
context:
space:
mode:
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-15 20:16:22 +0000
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-15 20:16:22 +0000
commit6b450f1e50c69c5538f858cdf9f82f8e5b696766 (patch)
treef8427247b24c50240a13487d725a56fef22b1418 /include/floatformat.h
parentbbc7526141269a76d75795bc462385e04a7608cd (diff)
downloadgcc-6b450f1e50c69c5538f858cdf9f82f8e5b696766.tar.gz
* floatformat.h (floatformat_is_valid): Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71404 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/floatformat.h')
-rw-r--r--include/floatformat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/floatformat.h b/include/floatformat.h
index 53ead3eee61..feb3260117c 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -1,5 +1,5 @@
/* IEEE floating point support declarations, for GDB, the GNU Debugger.
- Copyright 1991, 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
+ Copyright 1991, 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -118,4 +118,9 @@ extern void
floatformat_from_double PARAMS ((const struct floatformat *,
double *, char *));
+/* Return non-zero iff the data at FROM is a valid number in format FMT. */
+
+extern int
+floatformat_is_valid PARAMS ((const struct floatformat *fmt, char *from));
+
#endif /* defined (FLOATFORMAT_H) */