Rev 5191 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5191 | Rev 6324 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* IEEE floating point support declarations, for GDB, the GNU Debugger. |
1 | /* IEEE floating point support declarations, for GDB, the GNU Debugger. |
2 | Copyright 1991, 1994, 1995, 1997, 2000, 2003, 2005, 2010 |
- | |
3 | Free Software Foundation, Inc. |
2 | Copyright (C) 1991-2015 Free Software Foundation, Inc. |
Line 4... | Line 3... | ||
4 | 3 | ||
Line 5... | Line 4... | ||
5 | This file is part of GDB. |
4 | This file is part of GDB. |
6 | 5 | ||
Line 21... | Line 20... | ||
21 | #if !defined (FLOATFORMAT_H) |
20 | #if !defined (FLOATFORMAT_H) |
22 | #define FLOATFORMAT_H 1 |
21 | #define FLOATFORMAT_H 1 |
Line 23... | Line 22... | ||
23 | 22 | ||
Line -... | Line 23... | ||
- | 23 | #include "ansidecl.h" |
|
- | 24 | ||
- | 25 | #ifdef __cplusplus |
|
- | 26 | extern "C" { |
|
24 | #include "ansidecl.h" |
27 | #endif |
25 | 28 | ||
26 | /* A floatformat consists of a sign bit, an exponent and a mantissa. Once the |
29 | /* A floatformat consists of a sign bit, an exponent and a mantissa. Once the |
27 | bytes are concatenated according to the byteorder flag, then each of those |
30 | bytes are concatenated according to the byteorder flag, then each of those |
28 | fields is contiguous. We number the bits with 0 being the most significant |
31 | fields is contiguous. We number the bits with 0 being the most significant |
Line 147... | Line 150... | ||
147 | /* Return non-zero iff the data at FROM is a valid number in format FMT. */ |
150 | /* Return non-zero iff the data at FROM is a valid number in format FMT. */ |
Line 148... | Line 151... | ||
148 | 151 | ||
149 | extern int |
152 | extern int |
Line -... | Line 153... | ||
- | 153 | floatformat_is_valid (const struct floatformat *fmt, const void *from); |
|
- | 154 | ||
- | 155 | #ifdef __cplusplus |
|
- | 156 | } |
|
150 | floatformat_is_valid (const struct floatformat *fmt, const void *from); |
157 | #endif |