add a test on Birthday's problema
[calc.git] / format.h
index 98492056673e6bffafeb1463bed5e27efa7754ba..3a376a0f58dc067e5758d360a58cce03fcb14f4b 100644 (file)
--- a/format.h
+++ b/format.h
@@ -3,16 +3,21 @@
 
 /* global variables */
 
-extern char *format;
-extern char *minform;
-
 /* print function */
 
-void set_format (char *prompt, int precision);
+void set_precision (int precision);
+int get_precision ();
+void set_prompt (char *prompt);
+void set_format ();
 
 void free_format ();
 
+void set_base (int in, int out);
+char *show_base ();
+int get_ibase ();
+
 double print (double value);
+double printl (double value);
 
 #endif /* __FORMAT_H__ */