X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=format.h;h=b18b92d728e8ccb99d9e18a684fcd452ab9ade02;hb=807bdeba16ea9ed816ecf7d3900f601c37ffa204;hp=d2f8f4ff0fc69fd655a41b125df4d1e30bbcf22b;hpb=20a645614be5667c1c32169e837b97c067156edb;p=calc.git diff --git a/format.h b/format.h index d2f8f4f..b18b92d 100644 --- a/format.h +++ b/format.h @@ -3,9 +3,6 @@ /* global variables */ -extern int ibase; -extern int obase; - /* print function */ void set_precision (int precision); @@ -15,6 +12,11 @@ void set_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);