fix bracket evaluation
[calc.git] / format.h
CommitLineData
a24bd519
LM
1#ifndef __FORMAT_H__
2#define __FORMAT_H__
3
4/* global variables */
5
a24bd519
LM
6/* print function */
7
e2a309f9
LM
8void set_precision (int precision);
9int get_precision ();
10void set_prompt (char *prompt);
11void set_format ();
a24bd519
LM
12
13void free_format ();
14
743e93f0 15void set_base (int in, int out);
743e93f0
LM
16char *show_base ();
17int get_ibase ();
18
a24bd519 19double print (double value);
e2a309f9 20double printl (double value);
a24bd519
LM
21
22#endif /* __FORMAT_H__ */
23
24/* vim: set ts=4 sw=4 et: */