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
new option: base
[calc.git]
/
format.h
1
#ifndef __FORMAT_H__
2
#define __FORMAT_H__
3
4
/* global variables */
5
6
extern
int
ibase
;
7
extern
int
obase
;
8
9
/* print function */
10
11
void
set_precision
(
int
precision
);
12
int
get_precision
();
13
void
set_prompt
(
char
*
prompt
);
14
void
set_format
();
15
16
void
free_format
();
17
18
double
print
(
double
value
);
19
double
printl
(
double
value
);
20
21
#endif
/* __FORMAT_H__ */
22
23
/* vim: set ts=4 sw=4 et: */