diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/floatformat.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 7d727085faf..db25adc849b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,8 +1,12 @@ +2003-09-22 Andrew Cagney <cagney@redhat.com> + + * floatformat.h (struct floatformat): Add field "is_valid". + 2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.h (floatformat_to_double): Make input buffer constant. (floatformat_from_double, floatformat_is_valid): Ditto. - + 2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.h (struct floatformat): Make "exp_bias" signed. diff --git a/include/floatformat.h b/include/floatformat.h index 3d0fd7a87ad..a8244ada5c7 100644 --- a/include/floatformat.h +++ b/include/floatformat.h @@ -80,6 +80,9 @@ struct floatformat /* Internal name for debugging. */ const char *name; + + /* Validator method. */ + int (*is_valid) PARAMS ((const struct floatformat *fmt, const char *from)); }; /* floatformats for IEEE single and double, big and little endian. */ |