diff --git a/demo/stest.c b/demo/stest.c index a790b63..c241e51 100644 --- a/demo/stest.c +++ b/demo/stest.c @@ -8,6 +8,9 @@ #ifndef DISPLAY #define DISPLAY(x) printf(x) + #define DISPLAY_P(...) printf(__VA_ARGS__) +#else + #define DISPLAY_P(...) (void)0 #endif @@ -33,6 +36,8 @@ int main(void) modetxt_gotoxy(0,0); #endif + DISPLAY_P("TFM Ident string:\n%s\n\n", fp_ident()); + /* test multiplication */ fp_read_radix(&a, "3453534534535345345341230891273", 10); fp_read_radix(&b, "2394873294871238934718923" , 10); @@ -140,7 +145,7 @@ int main(void) return 0; -} +} /* $Source$ */