diff --git a/include/ChangeLog b/include/ChangeLog index 331aef1e9..9302e2986 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,8 +1,12 @@ +2003-09-22 Andrew Cagney + + * floatformat.h (struct floatformat): Add field "is_valid". + 2003-09-15 Andrew Cagney * floatformat.h (floatformat_to_double): Make input buffer constant. (floatformat_from_double, floatformat_is_valid): Ditto. - + 2003-09-15 Andrew Cagney * floatformat.h (struct floatformat): Make "exp_bias" signed. diff --git a/include/floatformat.h b/include/floatformat.h index 3d0fd7a87..a8244ada5 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. */