From 74df3d9970c3de08e0aa3df7ccf83fdd9aedf38e Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sun, 15 Jun 2014 18:34:15 +0200 Subject: [PATCH] demo/stest: print ident string --- demo/stest.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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$ */