Added #define for buffer size needed for flt_flt2str()
This commit is contained in:
parent
990e7a67da
commit
3e194345cf
|
@ -25,6 +25,8 @@ extern int flt_status;
|
|||
#define FLT_DIV0 004
|
||||
#define FLT_NOFLT 010
|
||||
#define FLT_BTSM 020
|
||||
|
||||
#define FLT_STRLEN 32
|
||||
.PP
|
||||
.B flt_add(e1, e2, e3)
|
||||
.B flt_arith *e1, *e2, *e3;
|
||||
|
@ -181,6 +183,7 @@ stored in
|
|||
At most
|
||||
.I bufsize
|
||||
characters are stored.
|
||||
The maximum length needed is available in the constant FLT_STRLEN.
|
||||
.PP
|
||||
.B flt_arith2flt
|
||||
converts the number
|
||||
|
|
|
@ -25,4 +25,5 @@ extern int flt_status;
|
|||
#define FLT_NOFLT 010
|
||||
#define FLT_BTSM 020
|
||||
|
||||
#define FLT_STRLEN 32 /* max length of result of flt_flt2str() */
|
||||
#endif __FLT_INCLUDED__
|
||||
|
|
Loading…
Reference in a new issue