Commit | Line | Data |
---|---|---|
a24bd519 LM |
1 | #ifndef __FORMAT_H__ |
2 | #define __FORMAT_H__ | |
3 | ||
4 | /* global variables */ | |
5 | ||
a24bd519 LM |
6 | /* print function */ |
7 | ||
e2a309f9 LM |
8 | void set_precision (int precision); |
9 | int get_precision (); | |
10 | void set_prompt (char *prompt); | |
11 | void set_format (); | |
a24bd519 LM |
12 | |
13 | void free_format (); | |
14 | ||
15 | double print (double value); | |
e2a309f9 | 16 | double printl (double value); |
a24bd519 LM |
17 | |
18 | #endif /* __FORMAT_H__ */ | |
19 | ||
20 | /* vim: set ts=4 sw=4 et: */ |