Soft'N'Design Software
/
projects
/
calc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix bracket evaluation
[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
char
*
show_base
();
17
int
get_ibase
();
18
19
double
print
(
double
value
);
20
double
printl
(
double
value
);
21
22
#endif
/* __FORMAT_H__ */
23
24
/* vim: set ts=4 sw=4 et: */