Added #define for buffer size needed for flt_flt2str()

This commit is contained in:
ceriel 1989-07-31 13:05:51 +00:00
parent 990e7a67da
commit 3e194345cf
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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__