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 | ||
743e93f0 | 15 | void set_base (int in, int out); |
743e93f0 LM |
16 | char *show_base (); |
17 | int get_ibase (); | |
18 | ||
a24bd519 | 19 | double print (double value); |
e2a309f9 | 20 | double printl (double value); |
a24bd519 LM |
21 | |
22 | #endif /* __FORMAT_H__ */ | |
23 | ||
24 | /* vim: set ts=4 sw=4 et: */ |