Soft'N'Design Software
/
projects
/
calc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better control on base parameters
[calc.git]
/
format.h
diff --git
a/format.h
b/format.h
index d2f8f4ff0fc69fd655a41b125df4d1e30bbcf22b..b18b92d728e8ccb99d9e18a684fcd452ab9ade02 100644
(file)
--- a/
format.h
+++ b/
format.h
@@
-3,9
+3,6
@@
/* global variables */
/* global variables */
-extern int ibase;
-extern int obase;
-
/* print function */
void set_precision (int precision);
/* print function */
void set_precision (int precision);
@@
-15,6
+12,11
@@
void set_format ();
void free_format ();
void free_format ();
+void set_base (int in, int out);
+int is_input_decimal ();
+char *show_base ();
+int get_ibase ();
+
double print (double value);
double printl (double value);
double print (double value);
double printl (double value);