move all code relative to readline into separate file
[calc.git] / format.h
1 #ifndef __FORMAT_H__
2 #define __FORMAT_H__
3
4 /* global variables */
5
6 /* print function */
7
8 void set_precision (int precision);
9 int get_precision ();
10 void set_prompt (char *prompt);
11 void set_format ();
12
13 void free_format ();
14
15 void set_base (int in, int out);
16 int is_input_decimal ();
17 char *show_base ();
18 int get_ibase ();
19
20 double print (double value);
21 double printl (double value);
22
23 #endif /* __FORMAT_H__ */
24
25 /* vim: set ts=4 sw=4 et: */