aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-09-15 20:13:45 +0000
committerDaniel Jacobowitz <drow@false.org>2003-09-15 20:13:45 +0000
commitfca63fe805f2cc5dc02c57003376dfafb223bbcc (patch)
treeca70eb9737807f823311cacb02464ee55a7b2d6b /include/floatformat.h
parent* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of (diff)
downloadbinutils-gdb-fca63fe805f2cc5dc02c57003376dfafb223bbcc.tar.gz
binutils-gdb-fca63fe805f2cc5dc02c57003376dfafb223bbcc.tar.bz2
binutils-gdb-fca63fe805f2cc5dc02c57003376dfafb223bbcc.zip
* floatformat.h (floatformat_is_valid): Add prototype.
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) */